Skip site navigation (1) Skip section navigation (2)

Switching user within connection.

From: Rob Kirkbride <rob(at)rkcomputing(dot)co(dot)uk>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Switching user within connection.
Date: 2005-11-23 10:08:20
Message-ID: 43843F94.6070900@rkcomputing.co.uk (view raw or flat)
Thread:
Lists: pgsql-jdbc
Hi,

Is there a standard way (or indeed a special way in Postgres) to switch 
user/password without creating a new connection?
You can obviously do it within psql with \c but I wondered whether there 
was a way in JDBC?

Thanks for any help,

Rob


Responses

pgsql-jdbc by date

Next:From: Oliver JowettDate: 2005-11-23 10:57:51
Subject: Re: Switching user within connection.
Previous:From: Achilleus MantziosDate: 2005-11-23 09:16:37
Subject: Re: Reg : Exception in Postgresql with Java

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group