OSDN Git Service

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)
commitb6bde524af5573f3db43c4b150fab0cbbf928670
treedb9eb628867e20fc1f44c7530783631a2c953647
parent5d3e2324a657d50046e7977fdff867891a3fe77c
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