Re: Automatically assuming a specific role after connecting to pg

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: "Florian G(dot) Pflug" <fgp(at)phlo(dot)org>
Cc: Postgresql-General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Automatically assuming a specific role after connecting to pg
Date: 2006-04-23 13:44:06
Message-ID: 20060423134406.GS4474@ns.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

* Florian G. Pflug (fgp(at)phlo(dot)org) wrote:
> I'd like to be able to connect to postgres, and automatically assume a
> specific role.

Couldn't you just have 'SET ROLE <whatever>' in the user's .psqlrc? At
least, if that's how they're connecting I think that'd work...

Enjoy,

Stephen

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Florian G. Pflug 2006-04-23 13:46:42 Re: Automatically assuming a specific role after connecting
Previous Message Florian G. Pflug 2006-04-23 12:50:32 Re: Automatically assuming a specific role after connecting