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

Поиск
Список
Период
Сортировка
От Kovacs Zoltan
Тема Re: \c connects as another user instead I want in psql
Дата
Msg-id Pine.LNX.4.21.0105031114120.442-100000@pc10.radnoti-szeged.sulinet.hu
обсуждение исходный текст
Ответ на Re: \c connects as another user instead I want in psql  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: \c connects as another user instead I want in psql  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: \c connects as another user instead I want in psql  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
On Wed, 2 May 2001, Tom Lane wrote:

> Kovacs Zoltan <kovacsz@pc10.radnoti-szeged.sulinet.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?
Hmmm. That was the problem. Thanks! By the way, could you please define a
unique constraint on column 'usesysid' in future in PostgreSQL?

Zoltan



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: PostgreSQL replication
Следующее
От: Alessio Bragadini
Дата:
Сообщение: A problem with pg_dump?