aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/ruleutils.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-10-06 00:55:26 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-10-06 00:55:26 +0000
commite0c433c4a34efa6ec2ca216d201cf5dfd8515a36 (patch)
tree00c79f57f583aad6591b1dc1494f3b24af329272 /src/backend/utils/adt/ruleutils.c
parent051168b6ac7429e2d9405e2b15998c3568d666e8 (diff)
downloadpostgresql-e0c433c4a34efa6ec2ca216d201cf5dfd8515a36.tar.gz
postgresql-e0c433c4a34efa6ec2ca216d201cf5dfd8515a36.zip
Change CREATE TABLE so that column default expressions coming from different
inheritance parent tables are compared using equal(), instead of doing strcmp() on the nodeToString representation. The old implementation was always a tad cheesy, and it finally fails completely as of 8.4, now that the node tree might contain syntax location information. equal() knows it's supposed to ignore those fields, but strcmp() hardly can. Per recent report from Scott Ribe.
Diffstat (limited to 'src/backend/utils/adt/ruleutils.c')
0 files changed, 0 insertions, 0 deletions