| От | Tom Lane |
|---|---|
| Тема | Re: #XX000: ERROR: tuple concurrently updated |
| Дата | |
| Msg-id | 1337154.1740409311@sss.pgh.pa.us обсуждение |
| Ответ на | Re: #XX000: ERROR: tuple concurrently updated (Dominique Devienne <ddevienne@gmail.com>) |
| Список | pgsql-general |
Dominique Devienne <ddevienne@gmail.com> writes:
> But during those "restore" transactions, I must also make role-to-role
> grants,
> which AFAIK involve adding rows to pg_auth_members. So they are not subject
> to the same "no support for concurrent updates in the catalog-manipulation"
> you mentioned, as schema-to-role grants are, right? Because that's an
> insert,
> not an update? Just want to make sure, as I'm thinking how to change our
> code.
Yeah, I think "GRANT role" should be relatively immune to that
problem, as long as you're making distinct grants (not same
grantor/grantee/granted roles). Wouldn't hurt to test.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера