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

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: \c connects as another user instead I want in psql
Дата
Msg-id 200105071840.f47IeXN19882@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: \c connects as another user instead I want in psql  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> I think the original motivation for wanting to eliminate these columns
> was that we need usesysid and grosysid to be distinct (can't use the
> same ID for both a user and a group).  Using OIDs as IDs would fix
> that, but it's overkill.  Wouldn't it be sufficient to use an
> installation-wide sequence object to assign new IDs for new users and
> groups?  We have no such animals at the present, but I see no reason
> why we couldn't make one.

Updated TODO to show both options:

* Add unique indexes to pg_shadow.usename and pg_shadow.usesysid or switch to pg_shadow.oid as user id

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Lisp as procedural language
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: NOCREATETABLE patch (was: Re: Please, help!(about Postgres))