summaryrefslogtreecommitdiff
path: root/src/tutorial/syscat.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2014-08-09 13:46:45 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2014-08-09 13:46:45 -0400
commitb4dacab12a47087036a3e9068c075bbcc73fb5b4 (patch)
treee6c4aaaacf2f47f6b506681718de5f297b6d9c36 /src/tutorial/syscat.source
parentdc4871c19fb0aae3f90d63220b8e0a5c61dfa91b (diff)
Reject duplicate column names in foreign key referenced-columns lists.
Such cases are disallowed by the SQL spec, and even if we wanted to allow them, the semantics seem ambiguous: how should the FK columns be matched up with the columns of a unique index? (The matching could be significant in the presence of opclasses with different notions of equality, so this issue isn't just academic.) However, our code did not previously reject such cases, but instead would either fail to match to any unique index, or generate a bizarre opclass-lookup error because of sloppy thinking in the index-matching code. David Rowley
Diffstat (limited to 'src/tutorial/syscat.source')
0 files changed, 0 insertions, 0 deletions