This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) port-forward your postgres instance to localhost | |
2) psql -U admin -h localhost -p 6432 -d <db-name> | |
In the above command , I port-forwaded the postgres micro-service to localhost port 6432 | |
3) Once you enterd to psql terminal , | |
4) <db-name>#= SHOW max_locks_per_transaction; | |
5) <db-name>#= ALTER SYSTEM SET max_locks_per_transaction = 1024; |