Re: Should SET ROLE inherit config params?
Gregory Stark <stark@enterprisedb.com>
From: Greg Stark <stark@enterprisedb.com>
To: Simon Riggs <simon@2ndquadrant.com>
Cc: Josh Berkus <josh@agliodbs.com>, pgsql-hackers@postgresql.org
Date: 2009-03-11T21:44:47Z
Lists: pgsql-hackers
On Wed, Mar 11, 2009 at 9:45 PM, Simon Riggs <simon@2ndquadrant.com> wrote: > > On Wed, 2009-03-11 at 14:27 -0700, Josh Berkus wrote: >> This is as documented (although I want to add a line to SET ROLE docs) >> but is it the behavior we want? I for one would like SET ROLE to change >> runtime configs. > > Sounds good to me, but you may want to explore what problems that might > cause so we can avoid screwing up. Perhaps it could be an option? Well for one thing pg_dump uses SET ROLE extensively and it sets parameters assuming they'll stay set -- greg