Fix for FK not finding columns when PK is defined

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

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.

Attachments:

analyze_patchtext/plain; charset=US-ASCII; name=analyze_patchDownload+2-2
#2Bruce Momjian
bruce@momjian.us
In reply to: Stephan Szabo (#1)
Re: Fix for FK not finding columns when PK is defined

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