Re: Concurrent execution of pg_relation_size and DROP TABLE

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Concurrent execution of pg_relation_size and DROP TABLE
Дата
Msg-id 14189.1251988532@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Concurrent execution of pg_relation_size and DROP TABLE  (Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Список pgsql-hackers
Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp> writes:
> Is it reasonable to replace relation_open() calls to try_relation_open() ?

I don't think so; that's just papering over one form of the problem,
and who's to say that an error is not desirable when a wrong OID is
given?  In general there's always a risk of concurrency problems.
        regards, tom lane


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Triggers on columns
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Triggers on columns