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