Re: \c connects as another user instead I want in psql - Mailing list pgsql-hackers

From Tom Lane
Subject Re: \c connects as another user instead I want in psql
Date
Msg-id 23617.988895250@sss.pgh.pa.us
Whole thread Raw
In response to Re: \c connects as another user instead I want in psql  (Kovacs Zoltan <kovacsz@pc10.radnoti-szeged.sulinet.hu>)
Responses Re: \c connects as another user instead I want in psql  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Kovacs Zoltan <kovacsz@pc10.radnoti-szeged.sulinet.hu> writes:
>> Is it possible that 1060 and 1092 have the same usesysid in pg_shadow?

> Hmmm. That was the problem. Thanks! By the way, could you please define a
> unique constraint on column 'usesysid' in future in PostgreSQL?

Yup, there should be one (and one on usename, too).  Not sure why it's
been overlooked so far.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Matthew Kirkwood
Date:
Subject: Re: Re: New Linux xfs/reiser file systems
Next
From: "Mauricio Breternitz"
Date:
Subject: Re: PostgreSQL replication