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

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas SB
Тема AW: \c connects as another user instead I want in psql
Дата
Msg-id 11C1E6749A55D411A9670001FA6879633682AD@sdexcsrv1.f000.d0188.sd.spardat.at
обсуждение исходный текст
Ответы Re: AW: \c connects as another user instead I want in psql  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> >> 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.

The usesysid was originally intended to map pg users to unix accounts.
I do not see why it should not be possible to map different pg users
to a single unix account. The above imho stems from an improper use of this 
column which needs to be fixed, not the column made unique.

Andreas


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Re: New Linux xfs/reiser file systems
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Unix sockets connection authentication - patch