Re: Solving the OID-collision problem

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Solving the OID-collision problem
Дата
Msg-id 9484.1123116904@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Solving the OID-collision problem  (Gavin Sherry <swm@linuxworld.com.au>)
Список pgsql-hackers
Gavin Sherry <swm@linuxworld.com.au> writes:
> Looks good. Another approach would be to put the existing code in a
> PG_TRY() block and catching the duplicate key violation.

Not really feasible from a code-structure point of view, I'm afraid.
Also there is the issue of cleaning up leaked resources (buffer pins
etc), which would probably require a subtransaction to be safe,
at which point it's not looking so fast anymore ...
        regards, tom lane


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

Предыдущее
От: Gavin Sherry
Дата:
Сообщение: Re: Solving the OID-collision problem
Следующее
От: Tom Lane
Дата:
Сообщение: Bug introduced by recent ALTER OWNER permissions check change