aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/init/miscinit.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2001-10-12 00:07:15 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2001-10-12 00:07:15 +0000
commitf9e6e27c873bcf50fdc20f5a28c5bede66d18f25 (patch)
treef6514d7b7c968982c25b00008c43289c6e2df1e1 /src/backend/utils/init/miscinit.c
parente98476eb032bd4dc32ca97212b660cad0bbadef4 (diff)
downloadpostgresql-f9e6e27c873bcf50fdc20f5a28c5bede66d18f25.tar.gz
postgresql-f9e6e27c873bcf50fdc20f5a28c5bede66d18f25.zip
Break transformCreateStmt() into multiple routines and make
transformAlterStmt() use these routines, instead of having lots of duplicate (not to mention should-have-been-duplicate) code. Adding a column with a CHECK constraint actually works now, and the tests to reject unsupported DEFAULT and NOT NULL clauses actually fire now. ALTER TABLE ADD PRIMARY KEY works, modulo having to have created the column(s) NOT NULL already.
Diffstat (limited to 'src/backend/utils/init/miscinit.c')
0 files changed, 0 insertions, 0 deletions