Re: Re: [COMMITTERS] pgsql/src/backend/utils/adt (ri_triggers.c)

Поиск
Список
Период
Сортировка
От Don Baccus
Тема Re: Re: [COMMITTERS] pgsql/src/backend/utils/adt (ri_triggers.c)
Дата
Msg-id 3.0.1.32.20001120210926.021ecce0@mail.pacifier.com
обсуждение исходный текст
Ответ на Re: [COMMITTERS] pgsql/src/backend/utils/adt (ri_triggers.c)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
At 11:37 PM 11/20/00 -0500, Tom Lane wrote:
>inoue@postgresql.org writes:
>> Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/utils/adt
>> Modified Files:
>>     ri_triggers.c 
>> keep relations open until they are no longer needed.
>
>Something that's been bothering me for a good while about ri_triggers
>is that it opens the relations without any lock to begin with.
>That can't possibly be safe, can it?

Hmmm...I only worked within the structure Jan built (to fix/implement
semantics) but there are efforts to lock things down with "select for
update" where Jan felt it was necessary.  Whether or not that's sufficient
is another question, but he obviously gave it *some* thought.



- Don Baccus, Portland OR <dhogaza@pacifier.com> Nature photos, on-line guides, Pacific Northwest Rare Bird Alert
Serviceand other goodies at http://donb.photo.net.
 


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

Предыдущее
От: Larry Rosenman
Дата:
Сообщение: Re: Table/Column Constraints
Следующее
От: Don Baccus
Дата:
Сообщение: Re: Re: [GENERAL] PHPBuilder article -- Postgres vs MySQL