Improve error message for the case where a requested foreign key constraint
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 12 Aug 2009 23:00:12 +0000 (23:00 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 12 Aug 2009 23:00:12 +0000 (23:00 +0000)
commit5e4c6527f387130eb3bf8efc7189e3fe764df0fe
tree344c7731f791fb681f2beb4179626949e1ae808e
parent4b0e0eea12d7fc0c5beb74a0a8517396b9643ff3
Improve error message for the case where a requested foreign key constraint
does match some unique index on the referenced table, but that index is
only deferrably unique.  We were doing this nicely for the
default-to-primary-key case, but were being lazy for the other case.

Dean Rasheed
src/backend/commands/tablecmds.c