Re: BUG #9371: pg_dump acquiring ROW EXCLUSIVE locks on tables

Поиск
Список
Период
Сортировка
От Dean Rasheed
Тема Re: BUG #9371: pg_dump acquiring ROW EXCLUSIVE locks on tables
Дата
Msg-id CAEZATCVVnoXMNZmcmK3ycfqpnRVf8ymnDtjNJLfzSwTOmgcdXg@mail.gmail.com
обсуждение исходный текст
Ответ на BUG #9371: pg_dump acquiring ROW EXCLUSIVE locks on tables  (dean.a.rasheed@gmail.com)
Ответы Re: BUG #9371: pg_dump acquiring ROW EXCLUSIVE locks on tables
Список pgsql-bugs
On 27 February 2014 11:54,  <dean.a.rasheed@gmail.com> wrote:
> [snip]
> perhaps
> AcquireRewriteLocks() could be told that the query is not about to be run in
> this case, and that it should only acquire ACCESS SHARE locks on the
> tables.
>

Here's a patch for HEAD along those lines.

I've tested it on our production data and confirmed that with this
patch pg_dump no longer acquires exclusive locks. I think this should
be back-patched, since we do promise that pg_dump does not block other
readers or writers.

Regards,
Dean

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #9416: Setting up postgresql-9.1 (9.1.12-0wheezy1) Fails Configuration
Следующее
От: tejaswinihj24@yahoo.co.in
Дата:
Сообщение: BUG #9424: Database size increased by 10MB everyday