Temporary tables privileges - Mailing list pgsql-general

From Alejandro D. Burne
Subject Temporary tables privileges
Date
Msg-id 8398dc6d05030909111f6c2b6d@mail.gmail.com
Whole thread Raw
Responses Re: Temporary tables privileges
List 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 by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: PostgreSQL still for Linux only?
Next
From: "Joshua D. Drake"
Date:
Subject: Re: PostgreSQL still for Linux only?