Skip to content

Commit

Permalink
Set 128 max locks per transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
dragosMC91 authored Feb 23, 2024
2 parents 56ed4cb + 67034e9 commit f90f76f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
6 changes: 5 additions & 1 deletion 13-3.4/alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
FROM docker.io/postgis/postgis:13-3.4-alpine
FROM docker.io/postgis/postgis:13-3.4-alpine

# initialize db with custom settings
COPY init.sql /docker-entrypoint-initdb.d/
RUN chmod a+r /docker-entrypoint-initdb.d/*
1 change: 1 addition & 0 deletions 13-3.4/alpine/init.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER SYSTEM SET max_locks_per_transaction = 128;
6 changes: 5 additions & 1 deletion 14-3.4/alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
FROM docker.io/postgis/postgis:14-3.4-alpine
FROM docker.io/postgis/postgis:14-3.4-alpine

# initialize db with custom settings
COPY init.sql /docker-entrypoint-initdb.d/
RUN chmod a+r /docker-entrypoint-initdb.d/*
1 change: 1 addition & 0 deletions 14-3.4/alpine/init.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER SYSTEM SET max_locks_per_transaction = 128;

0 comments on commit f90f76f

Please sign in to comment.