Re: DROP COLUMN Progress - Mailing list pgsql-hackers

From Tom Lane
Subject Re: DROP COLUMN Progress
Date
Msg-id 1049.1026188029@sss.pgh.pa.us
Whole thread Raw
In response to DROP COLUMN Progress  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
List pgsql-hackers
"Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
>> What of
>> SELECT a,c,d FROM test
>> I'll bet that doesn't work at all...

> Yeah, broken.  Damn.

Yup.  That loop we were just looking at needs to derive the correct
attnum when it matches a column name.  If you remove deleted columns
from the eref list altogether, you get the wrong answer.
        regards, tom lane




pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: Proposal: CREATE CONVERSION
Next
From: Tatsuo Ishii
Date:
Subject: Re: Proposal: CREATE CONVERSION