postgresql/src/backend
Tom Lane 4ff49746ea 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:52 -04:00
..
access Treat 2PC commit/abort the same as regular xacts in recovery. 2014-07-29 11:58:17 +03:00
bootstrap Revert "Fix bogus %name-prefix option syntax in all our Bison files." 2014-05-28 19:29:53 -04:00
catalog Fix REASSIGN OWNED for text search objects 2014-07-15 13:24:07 -04:00
commands Reject duplicate column names in foreign key referenced-columns lists. 2014-08-09 13:46:52 -04:00
executor Fix bug with whole-row references to append subplans. 2014-07-11 19:12:51 -04:00
foreign deflist_to_tuplestore dumped core on an option with no value. 2011-09-13 11:36:57 -04:00
lib Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
libpq Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
main Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
nodes Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
optimizer Don't assume a subquery's output is unique if there's a SRF in its tlist. 2014-07-08 14:03:30 -04:00
parser Revert "Fix bogus %name-prefix option syntax in all our Bison files." 2014-05-28 19:29:53 -04:00
po Translation updates 2014-07-21 00:56:23 -04:00
port Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
postmaster Avoid wholesale autovacuuming when autovacuum is nominally off. 2014-07-30 14:42:12 -04:00
regex Fix two low-probability memory leaks in regular expression parsing. 2014-07-18 13:00:57 -04:00
replication Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
rewrite Add some errdetail to checkRuleResultList(). 2014-07-02 14:20:47 -04:00
snowball Fix ancient encoding error in hungarian.stop. 2014-06-10 22:48:59 -04:00
storage Add defenses against running with a wrong selection of LOBLKSIZE. 2014-06-05 11:31:22 -04:00
tcop Fix failure to set ActiveSnapshot while rewinding a cursor. 2014-05-07 14:25:25 -04:00
tsearch Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
utils Fix longstanding bug in HeapTupleSatisfiesVacuum(). 2014-06-04 23:27:10 +02:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:06 +02:00
common.mk Expand test coverage support to entire tree 2009-08-07 20:50:22 +00:00
Makefile Fix PGXS support for building loadable modules on AIX. 2012-10-09 21:04:20 -04:00
nls.mk Translation updates 2013-02-03 23:56:29 -05:00