Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5c2a7c6

Browse files
committed
Add a comment explaining why we force physical removal of OIDs.
Noah Misch, slightly revised.
1 parenta06e41d commit5c2a7c6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/backend/commands/tablecmds.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4942,7 +4942,9 @@ ATExecDropColumn(List **wqueue, Relation rel, const char *colName,
49424942

49434943
/*
49444944
* If we dropped the OID column, must adjust pg_class.relhasoids and tell
4945-
* Phase 3 to physically get rid of the column.
4945+
* Phase 3 to physically get rid of the column. We formerly left the
4946+
* column in place physically, but this caused subtle problems. See
4947+
* http://archives.postgresql.org/pgsql-hackers/2009-02/msg00363.php
49464948
*/
49474949
if (attnum==ObjectIdAttributeNumber)
49484950
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp