Remove ancient special case code for dropping 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:50 +0000 (16:13 +0200)
commit7ef2912519fdea0dd0f6747c4dc008c99dc51e90
tree4ae6e966e53095c8a3916e2f8230d0b4efa3b7ba
parent5eaa0e92ee2f94994c55c02d01b3feabc6c35f54
Remove ancient special case code for dropping oid columns

The special handling of negative attribute numbers in
RemoveAttributeById() was introduced to support SET WITHOUT OIDS
(commit 24614a9880).  But that feature doesn't exist anymore, so we
can revert to the previous, simpler version.

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/catalog/heap.c