Re: DROP COLUMN

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: DROP COLUMN
Дата
Msg-id 21572.1026754895@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: DROP COLUMN  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: DROP COLUMN  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: DROP COLUMN
Следующее
От: Marc Lavergne
Дата:
Сообщение: Re: COPY x FROM STDIN escape handlers