Fixes for checking unique constraints on RI creation

Started by Stephan Szaboalmost 26 years ago2 messagespatches
Jump to latest
#1Stephan Szabo
sszabo@megazone23.bigpanda.com

I believe this should fix the issue that Philip Warner
noticed about the check for unique constraints meeting the
referenced keys of a foreign key constraint allowing the
specification of a subset of a foreign key instead of
rejecting it. I also added tests for a base case of
this to the foreign key and alter table tests and patches
for expected output.

Attachments:

patchtext/plain; CHARSET=US-ASCII; NAME=patchDownload+127-88
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Stephan Szabo (#1)
Re: Fixes for checking unique constraints on RI creation

Stephan Szabo <sszabo@megazone23.bigpanda.com> writes:

I believe this should fix the issue that Philip Warner
noticed about the check for unique constraints meeting the
referenced keys of a foreign key constraint allowing the
specification of a subset of a foreign key instead of
rejecting it. I also added tests for a base case of
this to the foreign key and alter table tests and patches
for expected output.

Applied.

regards, tom lane