Thread: Fix for FK not finding columns when PK is defined

Fix for FK not finding columns when PK is defined

From
Stephan Szabo
Date:
This effectively one line patch should fix the fact that
foreign key definitions in create table were erroring if
a primary key was defined.  I was using the columns
list to get the columns of the table for comparison, but
it got reused as a temporary list inside the primary key
stuff.


Attachment

Re: Fix for FK not finding columns when PK is defined

From
Bruce Momjian
Date:
Applied.

>
> This effectively one line patch should fix the fact that
> foreign key definitions in create table were erroring if
> a primary key was defined.  I was using the columns
> list to get the columns of the table for comparison, but
> it got reused as a temporary list inside the primary key
> stuff.
>
Content-Description:

[ Attachment, skipping... ]


--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026