Search path in group_roles not honered for logins

From: Ow Mun Heng <Ow(dot)Mun(dot)Heng(at)wdc(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Search path in group_roles not honered for logins
Date: 2007-11-01 03:48:27
Message-ID: 1193888907.7999.68.camel@neuromancer.home.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

CREATE ROLE db_users
NOSUPERUSER INHERIT NOCREATEDB NOCREATEROLE;
ALTER ROLE db_users SET search_path=mydb, public;

When I create a login,

CREATE ROLE oli LOGIN
ENCRYPTED PASSWORD 'mXXX'
NOSUPERUSER INHERIT NOCREATEDB NOCREATEROLE;
ALTER ROLE oliver SET search_path=xmms; <---- I have to set this manually
GRANT db_users TO ol;

Why is this such or is this an intended feature?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2007-11-01 04:02:24 Re: Search path in group_roles not honered for logins
Previous Message Tom Lane 2007-11-01 03:37:08 Re: current_user changes immediately after login