Re: DROP COLUMN Progress - Mailing list pgsql-hackers

From Tom Lane
Subject Re: DROP COLUMN Progress
Date
Msg-id 838.1026186580@sss.pgh.pa.us
Whole thread Raw
In response to Re: DROP COLUMN Progress  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
List pgsql-hackers
"Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
>> That was my first thought also, but then the wrong attnum would be used
>> in the "make_var".  Ugh.  I think what Chris needs to do is extend the
>> eref data structure so that there can be placeholders for dropped
>> attributes.  Perhaps NULLs could be included in the list, and then the
>> code would become like

> Hmmm...  I don't get it - at the moment I'm preventing them from even
> getting into the eref and all regression tests pass and every test I try
> works as well...

Are you checking access to columns that're to the right of the one
dropped?
        regards, tom lane




pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Re: DROP COLUMN Progress
Next
From: Thomas Lockhart
Date:
Subject: Units for storage of internal time zone offsets