[GENERAL] DROP [TEMP] TABLE syntax, as reason why not?

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема [GENERAL] DROP [TEMP] TABLE syntax, as reason why not?
Дата
Msg-id CAKFQuwZGCBAiid5kjR=mxCnFvM+fwByWHYue8tDhLT7rEyevcg@mail.gmail.com
обсуждение исходный текст
Ответы Re: [GENERAL] DROP [TEMP] TABLE syntax, as reason why not?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hey all,

I'm wondering if there is anything technical preventing someone from making:

DROP TEMP TABLE tablename;

work.  Implementation wise the command would fail if a temporary table of the given name doesn't exist.  Today, if a temporary table exists it will be dropped, but if tablename is not schema-qualified and a table with the same names exists in the search path it would be dropped.

Plus its symmetrical with CREATE [TEMP] TABLE.

David J.

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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: [GENERAL] PG and database encryption
Следующее
От: Rob Sargent
Дата:
Сообщение: [GENERAL] jdbc driver vis Release 10