Re: WITH SYSID feature dropped

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: WITH SYSID feature dropped
Дата
Msg-id 29845.1135094224@sss.pgh.pa.us
обсуждение исходный текст
Ответ на WITH SYSID feature dropped  ("Donald Fraser" <postgres@kiwi-fraser.net>)
Список pgsql-admin
"Donald Fraser" <postgres@kiwi-fraser.net> writes:
> 1) Was there a good reason for dropping this feature?

Users/groups are identified by OIDs now, not by sysids.

The original motivation for allowing manual assignment of userids was to
allow recovery if a user was dropped while still owning objects --- you
could recreate the user with the same sysid and then the objects' owner
fields would match up.  8.1 now does reference counting and prevents you
from dropping users who still own anything, so AFAICS that use-case is
gone.  Do you have another one?

            regards, tom lane

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

Предыдущее
От: "Donald Fraser"
Дата:
Сообщение: WITH SYSID feature dropped
Следующее
От: Jonathan Parkin
Дата:
Сообщение: PostgreSQL 7.4.10 hanging on delete