pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
grant select pg 9.0.3
2+ messages / 2 participants
[nested] [flat]

* grant select pg 9.0.3
@ 2012-05-02 19:01 Tony Capobianco <tcapobianco@prospectiv.com>
  2012-05-02 19:07 ` Re: grant select pg 9.0.3 Kevin Grittner <Kevin.Grittner@wicourts.gov>
  0 siblings, 1 reply; 2+ messages in thread

From: Tony Capobianco @ 2012-05-02 19:01 UTC (permalink / raw)
  To: pgsql-admin

I've issued the following statement:

grant select on all tables in schema support to backup;

When I perform a pgdump of the support schema with the backup user it
works fine.  If I create a new table within the support schema, pgdump
fails on the support schema.  To rectify, I issue the grant statement
again.  How can I avoid having to issue the grant each time I create a
new table?

Thanks.
Tony





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: grant select pg 9.0.3
  2012-05-02 19:01 grant select pg 9.0.3 Tony Capobianco <tcapobianco@prospectiv.com>
@ 2012-05-02 19:07 ` Kevin Grittner <Kevin.Grittner@wicourts.gov>
  0 siblings, 0 replies; 2+ messages in thread

From: Kevin Grittner @ 2012-05-02 19:07 UTC (permalink / raw)
  To: pgsql-admin; Tony Capobianco <tcapobianco@prospectiv.com>

Tony Capobianco <tcapobianco@prospectiv.com> wrote:
> I've issued the following statement:
> 
> grant select on all tables in schema support to backup;
> 
> How can I avoid having to issue the grant each time I create a new
table?
 
http://www.postgresql.org/docs/9.0/interactive/sql-alterdefaultprivileges.html
 
Also, please consider updating to 9.0.7.
 
http://www.postgresql.org/support/versioning/
 
-Kevin



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2012-05-02 19:07 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-05-02 19:01 grant select pg 9.0.3 Tony Capobianco <tcapobianco@prospectiv.com>
2012-05-02 19:07 ` Kevin Grittner <Kevin.Grittner@wicourts.gov>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox