postgresql/src/backend/commands
Tom Lane b4dacab12a 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
2014-08-09 13:46:45 -04:00
..
aggregatecmds.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
alter.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
analyze.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
async.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
cluster.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
collationcmds.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
comment.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
constraint.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
conversioncmds.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
copy.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
createas.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
dbcommands.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
define.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
discard.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
dropcmds.c Don't trash input list structure in does_not_exist_skipping(). 2012-11-08 11:34:37 -05:00
explain.c Prevent auto_explain from changing the output of a user's EXPLAIN. 2014-05-20 12:20:57 -04:00
extension.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
foreigncmds.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
functioncmds.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
indexcmds.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
lockcmds.c Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
Makefile Restructure SELECT INTO's parsetree representation into CreateTableAsStmt. 2012-03-19 21:38:12 -04:00
opclasscmds.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
operatorcmds.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
portalcmds.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
prepare.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
proclang.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
schemacmds.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
seclabel.c Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
sequence.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
tablecmds.c Reject duplicate column names in foreign key referenced-columns lists. 2014-08-09 13:46:45 -04:00
tablespace.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
trigger.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
tsearchcmds.c Fix REASSIGN OWNED for text search objects 2014-07-15 13:24:07 -04:00
typecmds.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
user.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
vacuum.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
vacuumlazy.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
variable.c Reject out-of-range numeric timezone specifications. 2014-07-21 22:41:30 -04:00
view.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00