Re: \c connects as another user instead I want in psql

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kovacs Zoltan <kovacsz(at)pc10(dot)radnoti-szeged(dot)sulinet(dot)hu>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: \c connects as another user instead I want in psql
Date: 2001-05-02 22:32:39
Message-ID: 17288.988842759@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Kovacs Zoltan <kovacsz(at)pc10(dot)radnoti-szeged(dot)sulinet(dot)hu> writes:
> tir=> \c - 1060
> You are now connected as new user 1060.
> tir=> select user;
> current_user
> --------------
> 1092
> (1 row)

Is it possible that 1060 and 1092 have the same usesysid in pg_shadow?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert E. Bruccoleri 2001-05-02 22:45:16 XFS File systems and PostgreSQL
Previous Message Tom Lane 2001-05-02 21:38:03 Collation order for btree-indexable datatypes