Re: locks in CREATE TRIGGER, ADD FK

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: locks in CREATE TRIGGER, ADD FK
Дата
Msg-id 1824.1111553638@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: locks in CREATE TRIGGER, ADD FK  (Neil Conway <neilc@samurai.com>)
Ответы Re: locks in CREATE TRIGGER, ADD FK  (Neil Conway <neilc@samurai.com>)
Список pgsql-hackers
Neil Conway <neilc@samurai.com> writes:
> - if we make these changes, we will need some way to delete a 
> no-longer-visible relfilenode.

This is presuming that we abandon the notion that system catalog
access use SnapshotNow.  Which opens the question of what they should
use instead ... to which "transaction snapshot" isn't the answer,
because we have to be able to do system catalog accesses before
we've set the snapshot.  (Else forget issuing LOCK TABLE before
the snapshot is set.)

I really think that you haven't the faintest idea of the size of
the can of worms you are opening here :-(
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: swapping relfilenodes (was: Re: locks in CREATE TRIGGER,
Следующее
От: ITAGAKI Takahiro
Дата:
Сообщение: Re: WAL: O_DIRECT and multipage-writer