How to drop a temporary view?

Поиск
Список
Период
Сортировка
От Vincenzo Romano
Тема How to drop a temporary view?
Дата
Msg-id CAHjZ2x7iCeEf+vmw3dASYnyxSx5oSdkue3WrysXtH4s13ByStQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: How to drop a temporary view?
Re: How to drop a temporary view?
Список pgsql-general
Hi all.
I'd like use a temporary view "to hide" a non-temp one  for some queries.
Later I'd need to drop that view in order to "revert to normal operations".
As there is no "DROP TEMPORARY VIEW ..." I'd be forced to "CREATE OR
REPLACE TEMPORARY VIEW ..." in order to "overwrite" the temporary one
with the same code as the non-temporary.
All this sounds quite complex to me. Is there a way to drop temporary
stuff before closing the session?
TIA.

--
Vincenzo Romano - NotOrAnd.IT
Information Technologies
NON QVIETIS MARIBVS NAVTA PERITVS

В списке pgsql-general по дате отправления:

Предыдущее
От: Eliot Gable
Дата:
Сообщение: pg_advisory_lock() and row deadlocks
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: pg_advisory_lock() and row deadlocks