| От | 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)
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера