Re: [GENERAL] users in Postgresql
От | Peter Eisentraut |
---|---|
Тема | Re: [GENERAL] users in Postgresql |
Дата | |
Msg-id | Pine.GSO.4.02A.9911021830420.19808-100000@Hermelin.DoCS.UU.SE обсуждение исходный текст |
Ответ на | Re: [GENERAL] users in Postgresql (postgres@taifun.interface-business.de) |
Ответы |
Re: [GENERAL] users in Postgresql
|
Список | pgsql-general |
May Tom (or anyone) correct me if I'm wrong, but I think this is what's going on: The contents of the pg_shadow table are written through to a file on disk called pg_pwd, so all the backends can easily access it. However, this write through is not automatic. The create user and alter user commands take care of that, but if you update pg_shadow directly, your changes will not be seen by currently active backends. -Peter On Tue, 2 Nov 1999 postgres@taifun.interface-business.de wrote: > > Btw., although direct UPDATEs to pg_shadow will seemingly succeed, you do > > not want to do that. That's a bug. > > Peter, would you explain your statement please! > > Why somebody is able to UPDATE pg_shadow to create an user if that's a bug? > And _why_ that's a bug? > > Gerald > > -- Peter Eisentraut Sernanders vaeg 10:115 peter_e@gmx.net 75262 Uppsala http://yi.org/peter-e/ Sweden
В списке pgsql-general по дате отправления: