Re: Automatically assuming a specific role after connecting to pg

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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-22 19:10:58
Message-ID: 8376.1145733058@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Florian G. Pflug" <fgp(at)phlo(dot)org> 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bert 2006-04-22 23:18:32 Performance
Previous Message Tom Lane 2006-04-22 19:08:45 Re: out of memory for query result