Re: CREATE TABLE (with INHERITS) and ACCESS EXCLUSIVE locks
В списке pgsql-general по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: CREATE TABLE (with INHERITS) and ACCESS EXCLUSIVE locks |
| Дата | |
| Msg-id | 13412.1144130019@sss.pgh.pa.us обсуждение |
| Ответ на | CREATE TABLE (with INHERITS) and ACCESS EXCLUSIVE locks ("Thomas F. O'Connell" <tfo@sitening.com>) |
| Ответы |
Re: CREATE TABLE (with INHERITS) and ACCESS EXCLUSIVE locks
|
| Список | pgsql-general |
"Thomas F. O'Connell" <tfo@sitening.com> writes:
> I'm dealing with an application that can potentially do ad hoc DDL.
> It uses a PG/pgSQL function, and the only DDL statements in the
> function are CREATE TABLE and CREATE INDEX statements. But I'm
> noticing that during the backup process (with pg_dump or pg_dumpall),
> the function is acquiring ACCESS EXCLUSIVE locks and bringing the
> application to its knees.
Please provide a test case. AFAIR neither of those should take any
AccessExclusive locks --- except on the new table, which shouldn't
matter because pg_dump won't see it.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера