Re: DROP COLUMN - Mailing list pgsql-hackers

From Tom Lane
Subject Re: DROP COLUMN
Date
Msg-id 21572.1026754895@sss.pgh.pa.us
Whole thread Raw
In response to Re: DROP COLUMN  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: DROP COLUMN
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Excellent idea.  That's how temp tables worked, by bypassing the
> syscache.  I wonder if you could just prevent dropped columns from being
> returned by the syscache.  That may work just fine.

No, it will break all the places that need to see dropped columns.

I agree that a wrapper function is probably an appropriate solution,
but only some of the calls of SearchSysCache should use it.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: DROP COLUMN
Next
From: Marc Lavergne
Date:
Subject: Re: COPY x FROM STDIN escape handlers