Re: One Role, Two Passwords
От
Stephen Frost
Тема
Re: One Role, Two Passwords
Дата
Msg-id
20110121021937.GS30352@tamriel.snowman.net
Ответ на
Re: One Role, Two Passwords (Daniel Farina)
Список
Дерево обсуждения
One Role, Two Passwords Daniel Farina <drfarina@acm.org>
Re: One Role, Two Passwords Tom Lane <tgl@sss.pgh.pa.us>
Re: One Role, Two Passwords Daniel Farina <drfarina@acm.org>
Re: One Role, Two Passwords Josh Berkus <josh@agliodbs.com>
Re: One Role, Two Passwords Daniel Farina <drfarina@acm.org>
Re: One Role, Two Passwords Josh Berkus <josh@agliodbs.com>
Re: One Role, Two Passwords Robert Haas <robertmhaas@gmail.com>
Re: One Role, Two Passwords Stephen Frost <sfrost@snowman.net>
Re: One Role, Two Passwords Robert Haas <robertmhaas@gmail.com>
Re: One Role, Two Passwords Daniel Farina <drfarina@acm.org>
Re: One Role, Two Passwords Stephen Frost <sfrost@snowman.net>
Re: One Role, Two Passwords Daniel Farina <drfarina@acm.org>
Re: One Role, Two Passwords Florian Pflug <fgp@phlo.org>
Re: One Role, Two Passwords Florian Pflug <fgp@phlo.org>
Re: One Role, Two Passwords Daniel Farina <drfarina@acm.org>
Re: One Role, Two Passwords Garick Hamlin <ghamlin@isc.upenn.edu>
Re: One Role, Two Passwords Andreas Karlsson <andreas@proxel.se>
Re: One Role, Two Passwords Andrew Dunstan <andrew@dunslane.net>
Re: One Role, Two Passwords Daniel Farina <drfarina@acm.org>
Re: One Role, Two Passwords Stephen Frost <sfrost@snowman.net>
* Daniel Farina (drfarina@acm.org) wrote: > On Thu, Jan 20, 2011 at 6:12 PM, Robert Haas wrote: > > I'm not likely to write a patch for it, but if someone else writes one > > I would be willing to (a) support it and (b) subject to consensus, > > commit it. > > Wouldn't this require a client application to issue the GUC setting? > Or could I somehow tell a role "You create objects as this user, and > you cannot change this." Errr, well, ok, this is curious. gis=> alter user sfrost set role gis; ALTER ROLE gis=> ^D\q beren:/home/sfrost> psql --cluster 8.4/main -d gis psql (8.4.5) Type "help" for help. gis=> show role;role ------gis (1 row) I'm trying to figure out if that'd help you or not, but it might. The problem is that you'd have to change both the login userid and the password, but you could make everything both those login roles do be 'as' some third role that's the 'real' role for the user. I'm still looking for 'default owner for schema', but I guess that's just me. Thanks, Stephen
В списке pgsql-hackers по дате отправления