summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2012-06-20 20:15:02 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2012-06-20 20:15:02 -0400
commitdfd9c116cc3ebaf42f895b9b16a9ff69bb21664b (patch)
tree14154514910d686a610228c63807559699c7bf14 /src/backend/access/gist/gist.c
parent0ce4459a366def5173a59a74ba1b81e8449b8df1 (diff)
downloadpostgresql-dfd9c116cc3ebaf42f895b9b16a9ff69bb21664b.tar.gz
Remove incomplete/incorrect support for zero-column foreign keys.
The original coding in ri_triggers.c had partial support for the concept of zero-column foreign key constraints. But this is not defined in the SQL standard, nor was it ever allowed by any other part of Postgres, nor was it very fully implemented even here (eg there was no support for preventing PK-table deletions that would violate the constraint). Doesn't seem very useful to carry 100-plus lines of code for a corner case that no one is interested in making work. Instead, just add a check that the column list read from pg_constraint is non-empty.
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions