MergeAttributes code deduplication

Peter Eisentraut <peter@eisentraut.org>

Commit: 64444ce071f6b04d3fc836f436fa08108a6d11e2
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2024-01-26T10:05:10Z
Releases: 17.0
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

Files

PathChange+/−
src/backend/commands/tablecmds.c modified +35 −63

Discussion