Re: Drop only temporary table

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Drop only temporary table
Дата
Msg-id 15709.1458307643@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Drop only temporary table  (Durumdara <durumdara@gmail.com>)
Список pgsql-general
Durumdara <durumdara@gmail.com> writes:
> As I experienced I can create normal and temp table with same name.

Sure.

> As I see that drop table stmt don't have "temporary" suboption to determine
> which to need to eliminate - the real or the temporary.

Once you've created a temp table, it masks any normal table of the same name
(unless you use a schema-qualified reference to the normal table).

            regards, tom lane


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

Предыдущее
От: Durumdara
Дата:
Сообщение: Drop only temporary table
Следующее
От: Aleksander Alekseev
Дата:
Сообщение: Re: Drop only temporary table