| От | Tom Lane |
|---|---|
| Тема | Re: max_locks_per_transactions ... |
| Дата | |
| Msg-id | 20055.1170352957@sss.pgh.pa.us обсуждение |
| Ответ на | Re: max_locks_per_transactions ... (Hans-Juergen Schoenig <postgres@cybertec.at>) |
| Список | pgsql-hackers |
Hans-Juergen Schoenig <postgres@cybertec.at> writes:
> i would suggest to replace the existing parameter but something else:
> - a switch to define the global size of the lock pool (e.g. "max_locks")
> - a switch which defines the upper limit for the current backend /
> transaction
The problem with that is that it's pretty much guaranteed to break
pg_dump, as pg_dump always needs a lot of locks. We could perhaps
change pg_dump to increase its limit value (assuming that that's not a
privileged operation), but the fact that a counterexample is so handy
makes me doubt that this is a better design than what we have.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера