Make more use of makeColumnDef()
Peter Eisentraut <peter@eisentraut.org>
Make more use of makeColumnDef() Since we already have it, we might as well make full use of it, instead of assembling ColumnDef by hand in several places. Reviewed-by: Alvaro Herrera <alvherre@alvh.no-ip.org> Discussion: https://www.postgresql.org/message-id/flat/52a125e4-ff9a-95f5-9f61-b87cf447e4da@eisentraut.org
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/sequence.c | modified | +8 −21 |
| src/backend/commands/tablecmds.c | modified | +2 −13 |
| src/backend/parser/parse_utilcmd.c | modified | +9 −31 |
Discussion
- tablecmds.c/MergeAttributes() cleanup 32 messages · 2023-06-28 → 2024-05-03