Hi, Probably you need to grant permission like this
And just each owner can insert or update ______________________
Saludos
Ing. Ricardo Martín Gomez
DBA - SysAdmin
De: Steven Crandell <steven.crandell@xxxxxxxxx>
Enviado: miércoles, 14 de marzo de 2018 01:23 a.m. Para: Richard Gbs Cc: pgsql-admin@xxxxxxxxxxxxxxxxxxxx Asunto: Re: Permission issues. Please help On Tue, Mar 13, 2018 at 8:52 PM, David G. Johnston
<david.g.johnston@xxxxxxxxx> wrote:
On Tuesday, March 13, 2018, Richard Gbs <richardgbs@xxxxxxxxx> wrote: default privileges might also prove useful in making a setup like this easier to maintain over the long-term.
e.g.
ALTER DEFAULT PRIVILEGES FOR USER user1 IN SCHEMA public GRANT SELECT ON TABLES TO user2;
YMMV, but something like this would ensure that user2 is automatically granted SELECT on any tables created by user1 in schema public.
Combine with role inheritance to help cut down on the number of total default privs required
\ddp to view default privs
|