MergeAttributes code deduplication
authorPeter Eisentraut <peter@eisentraut.org>
Fri, 26 Jan 2024 08:04:27 +0000 (09:04 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Fri, 26 Jan 2024 10:05:10 +0000 (11:05 +0100)
commit64444ce071f6b04d3fc836f436fa08108a6d11e2
tree002f42a42378965d84f02152dc3f852fa1284d4e
parentf2bf8fb04886e3ea82e7f7f86696ac78e06b7e60
MergeAttributes code deduplication

The code handling NOT NULL constraints is duplicated in blocks merging
the attribute definition incrementally.  Deduplicate that code.

Author: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/52a125e4-ff9a-95f5-9f61-b87cf447e4da@eisentraut.org
src/backend/commands/tablecmds.c