Fix for FK not finding columns when PK is defined
Fix for FK not finding columns when PK is defined
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.
Re: Fix for FK not finding columns when PK is defined
От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
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