Temporary tables privileges

Поиск
Список
Период
Сортировка
От Alejandro D. Burne
Тема Temporary tables privileges
Дата
Msg-id 8398dc6d05030909111f6c2b6d@mail.gmail.com
обсуждение исходный текст
Ответы Re: Temporary tables privileges  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-general
Hi, I'm new at pg.
I'll be using tmp tables in others rdbms. An user can create your own
tmp tables (grant temporary tables) but can't drop it (I don't want to
grant drop privileges).
Other way it's using on commit; but I can't make this work.

Example:
CREATE TEMPORARY TABLE tmp ON COMMIT DROP AS
SELECT code FROM mytable WHERE code BETWEEN 1 AND 10;

shows error near ON

Thanks. Alejandro.

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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: PostgreSQL still for Linux only?
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: PostgreSQL still for Linux only?