Privileges - Mailing list pgsql-hackers

From Simon Riggs
Subject Privileges
Date
Msg-id 1271712459.8305.20379.camel@ebony
Whole thread Raw
Responses Re: Privileges
List pgsql-hackers
There is a command to set privileges

  GRANT SELECT ON ALL TABLES IN SCHEMA foo TO PUBLIC;

and a command to set default privileges

  ALTER DEFAULT PRIVILEGES IN SCHEMA foo
  GRANT SELECT ON TABLES TO PUBLIC;

In the first command the ALL is required, whereas in the second command
the ALL must be absent.

ISTM that the ALL should be optional in both cases.
Same thing is true for FUNCTIONS and SEQUENCES.

Both options are new in 9.0.

Any objections to implementing this simple patch?

--
 Simon Riggs           www.2ndQuadrant.com

Attachment

pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Thoughts on pg_hba.conf rejection
Next
From: Bruce Momjian
Date:
Subject: Re: shared_buffers documentation