On 13/06/14 14:44, Chris Miller wrote:
How do I grant a user SELECT privileges on the pg_stat_database catalog?
Using the normal postgresql::server::database_grant approach just
returns: "'ERROR: database "pg_stat_database" does not exist"

pg_stat_database isn't a database, it's a view inside *each* postgres database (ie the stats in there are not for the entire cluster).

--
Postgresql & php tutorials
http://www.designmagick.com/

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/539F7354.6040000%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to