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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql/src/backend/utils/adt (ri_triggers.c)
Дата
Msg-id 22197.969944720@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql/src/backend/utils/adt (ri_triggers.c)  (Hiroshi Inoue <Inoue@tpf.co.jp>)
Ответы Re: pgsql/src/backend/utils/adt (ri_triggers.c)  (520083510237-0001@t-online.de (Peter Eisentraut))
Список pgsql-committers
Hiroshi Inoue <Inoue@tpf.co.jp> writes:
>> When the RI triggers lock the PK table, temporarily switch the current user
>> id to the owner of the PK table, to avoid permission problems.

> Are there any changes for Stephan's question ?

> Stephan Szabo wrote:
>> As a question, since I don't have a source tree available here at work,
>> will there be an issue if an elog occurs between the various two user id
>> sets?  Just wondering, because most of those statements are do some
>> SPI thing or elog.

It'll certainly be necessary for xact abort to restore the original
user ID setting.  Peter, did you do that already?

            regards, tom lane

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

Предыдущее
От: Hiroshi Inoue
Дата:
Сообщение: Re: pgsql/src/backend/utils/adt (ri_triggers.c)
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: pgsql/src/interfaces/ecpg/preproc (pgc.l)