Re: [GENERAL] GRANT privileges strange behavior

2011-08-23 Thread Guillaume Lelarge
On Tue, 2011-08-23 at 06:43 -0700, igivanoff wrote: > Hi, > > I have the following situation: > > postgres=# create database foo with encoding = 'UTF8'; > postgres=# \c foo > foo=# CREATE SCHEMA sc; > foo=# ALTER DATABASE foo SET search_path=sc, pg_catalog; > foo=# CREATE ROLE usr LOGIN PASSWORD

[GENERAL] GRANT privileges strange behavior

2011-08-23 Thread igivanoff
Hi, I have the following situation: postgres=# create database foo with encoding = 'UTF8'; postgres=# \c foo foo=# CREATE SCHEMA sc; foo=# ALTER DATABASE foo SET search_path=sc, pg_catalog; foo=# CREATE ROLE usr LOGIN PASSWORD 'usr' NOINHERIT CREATEDB VALID UNTIL 'infinity'; foo=# grant all privi