For some reason, CREATE TYPE has only accepted alignment specifications
Tom Lane <tgl@sss.pgh.pa.us>
For some reason, CREATE TYPE has only accepted alignment specifications of 'int4' and 'double'. Add 'char' and 'int2' to allow user-defined types to access the full set of supported alignments.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/create_type.sgml | modified | +3 −2 |
| src/backend/commands/define.c | modified | +15 −6 |
| src/bin/pg_dump/pg_dump.c | modified | +9 −6 |