mirror of
https://github.com/postgres/postgres.git
synced 2025-05-21 15:54:08 +03:00
Add a comment explaining why we force physical removal of OIDs.
Noah Misch, slightly revised.
This commit is contained in:
parent
a06e41deeb
commit
5c2a7c6e97
@ -4942,7 +4942,9 @@ ATExecDropColumn(List **wqueue, Relation rel, const char *colName,
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* If we dropped the OID column, must adjust pg_class.relhasoids and tell
|
* If we dropped the OID column, must adjust pg_class.relhasoids and tell
|
||||||
* Phase 3 to physically get rid of the column.
|
* Phase 3 to physically get rid of the column. We formerly left the
|
||||||
|
* column in place physically, but this caused subtle problems. See
|
||||||
|
* http://archives.postgresql.org/pgsql-hackers/2009-02/msg00363.php
|
||||||
*/
|
*/
|
||||||
if (attnum == ObjectIdAttributeNumber)
|
if (attnum == ObjectIdAttributeNumber)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user