aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/regexp.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-12-14 21:35:20 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-12-14 21:35:20 +0000
commit94e467061e7e2810cd7f566d837e6bb77edaf10d (patch)
treecc286bd7a502e4722cbbcaeca91fd5a726726416 /src/backend/utils/adt/regexp.c
parentaf80de1f01c8234203ff67de37aa1ff2d2766317 (diff)
downloadpostgresql-94e467061e7e2810cd7f566d837e6bb77edaf10d.tar.gz
postgresql-94e467061e7e2810cd7f566d837e6bb77edaf10d.zip
Fix pg_dump to ensure that a comment on a table CHECK constraint cannot
be emitted too soon. The previous code got this right in the case where the CHECK was emitted as a separate ALTER TABLE command, but not in the case where the CHECK is emitted right in CREATE TABLE. Per report from Slawomir Sudnik. Note: this code is pretty ugly; it'd perhaps be better to treat comments as independently sortable dump objects. That'd be much too invasive a change for RC time though.
Diffstat (limited to 'src/backend/utils/adt/regexp.c')
0 files changed, 0 insertions, 0 deletions