Richard Huxton wrote:
Florian G. Pflug wrote:
Do you see any other way via which I could archive my desired result?
(Apart from modifying every client in existence)
Could you modify pgpool to act as a wrapper for this?
Hm.. should be possible.. I'll look into this. Thanks for the hint.
gree
Florian G. Pflug wrote:
Do you see any other way via which I could archive my desired result?
(Apart from modifying every client in existence)
Could you modify pgpool to act as a wrapper for this?
--
Richard Huxton
Archonet Ltd
---(end of broadcast)---
Stephen Frost wrote:
* Florian G. Pflug ([EMAIL PROTECTED]) wrote:
Stephen Frost wrote:
Alright, can you describe *exactly* what you'd want to see then? Is
this a new command-line option to psql (perhaps something like -v?)? Or
do you need it to be supported by libpq through a new connect-str
* Florian G. Pflug ([EMAIL PROTECTED]) wrote:
> Stephen Frost wrote:
> >Alright, can you describe *exactly* what you'd want to see then? Is
> >this a new command-line option to psql (perhaps something like -v?)? Or
> >do you need it to be supported by libpq through a new connect-string
> >option
Stephen Frost wrote:
* Florian G. Pflug ([EMAIL PROTECTED]) wrote:
I can do that with "alter user set role " too...
But I'd like my users to be able to connect as either role "dev" or
role "admin", depending on the task they want to do.
Alright, can you describe *exactly* what you'd want to s
Stephen Frost wrote:
* Florian G. Pflug ([EMAIL PROTECTED]) wrote:
I'd like to be able to connect to postgres, and automatically assume a
specific role.
Couldn't you just have 'SET ROLE ' in the user's .psqlrc? At
least, if that's how they're connecting I think that'd work...
I can do that
* Florian G. Pflug ([EMAIL PROTECTED]) wrote:
> I'd like to be able to connect to postgres, and automatically assume a
> specific role.
Couldn't you just have 'SET ROLE ' in the user's .psqlrc? At
least, if that's how they're connecting I think that'd work...
Enjoy,
Ste
* Florian G. Pflug ([EMAIL PROTECTED]) wrote:
> I can do that with "alter user set role " too...
> But I'd like my users to be able to connect as either role "dev" or
> role "admin", depending on the task they want to do.
Alright, can you describe *exactly* what you'd want to see then? Is
this a
Tom Lane wrote:
"Florian G. Pflug" <[EMAIL PROTECTED]> writes:
I'd like to be able to connect to postgres, and automatically assume a specific
role.
Why don't you just connect as that role to begin with? This seems like
a pretty low-value frammish.
Because I want each user to have his or
"Florian G. Pflug" <[EMAIL PROTECTED]> writes:
> I'd like to be able to connect to postgres, and automatically assume a
> specific role.
Why don't you just connect as that role to begin with? This seems like
a pretty low-value frammish.
regards, tom lane
---
I'd like to be able to connect to postgres, and automatically assume a specific
role.
I imagine something like
create role myuser ;
create role dev noinherit ;
create role admin noinherit superuser ;
grant dev to myuser ;
grant admin to myuser ;
Now, I'd like a connect as "myuser/admin" to be e
11 matches
Mail list logo