Re: Set the permissions while creating database, schema, and tables - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: Set the permissions while creating database, schema, and tables
Date
Msg-id 20100215144901.GB2982@alvh.no-ip.org
Whole thread Raw
In response to Re: Set the permissions while creating database, schema, and tables  (dipti shah <shahdipti1980@gmail.com>)
List pgsql-general
dipti shah escribió:
> That's I know but I was wondering if there is anyway to do it while creating
> itself.

No.  You can wrap the CREATE and the GRANT/REVOKE into a transaction so
that the object doesn't appear to users until permissions have been
fixed.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-general by date:

Previous
From: Marcin Krol
Date:
Subject: CLUSTER cannot complete
Next
From: Marcin Krol
Date:
Subject: CLUSTER cannot complete