Remove ancient special case code for adding oid columns
authorPeter Eisentraut <peter@eisentraut.org>
Wed, 12 Jul 2023 14:12:34 +0000 (16:12 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Wed, 12 Jul 2023 14:13:40 +0000 (16:13 +0200)
commit5eaa0e92ee2f94994c55c02d01b3feabc6c35f54
tree837af9613582e345a4ec0e41d5053c5cfef55e7b
parentadf333b4edb24fc9134fd76cd6c2d65f9a89c3a4
Remove ancient special case code for adding oid columns

The special handling of negative attribute numbers in
ATExecAddColumn() was introduced to support SET WITH OIDS (commit
6d1e361852).  But that feature doesn't exist anymore, so we can revert
to the previous, simpler version.  In passing, also remove an obsolete
comment about OID support.

Reviewed-by: Alvaro Herrera <alvherre@alvh.no-ip.org>
Discussion: https://www.postgresql.org/message-id/flat/52a125e4-ff9a-95f5-9f61-b87cf447e4da@eisentraut.org
src/backend/commands/tablecmds.c