How to increase max_locks_per_transaction

孤者浪人 提交于 2019-12-04 23:34:12

you might find ../data/postgresql.conf file, then edit with notepad, set max_locks_per_transaction = 1024 if it looks like # max_locks_per_transaction... you must remove #.

it must look like that: max_locks_per_transaction = 1024 # min 10

than save it and restart postgresql

It is a setting in your postgresql.conf if you do not know where that file is run SHOW config_file; on an sql prompt/window.

Then when you have modified that file restart postgresql, I don't know how you do that on MacOS a reboot will work of course.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!