Skip to content

Commit 5c4b8a4

Browse files
committed
Set NAMEDATALEN to 128
1 parent a83005b commit 5c4b8a4

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

10/alpine/Dockerfile

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

11/alpine/Dockerfile

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

12/alpine/Dockerfile

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

13/alpine/Dockerfile

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

14/alpine/Dockerfile

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

9.6/alpine/Dockerfile

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Dockerfile-alpine.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ RUN set -eux; \
7373
cd /usr/src/postgresql; \
7474
# update "DEFAULT_PGSOCKET_DIR" to "/var/run/postgresql" (matching Debian)
7575
# see https://anonscm.debian.org/git/pkg-postgresql/postgresql.git/tree/debian/patches/51-default-sockets-in-var.patch?id=8b539fcb3e093a521c095e70bdfa76887217b89f
76-
awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; \
76+
awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h | awk '$1 == "#define" && $2 == "NAMEDATALEN" && $3 == "64" { $3 = "128"; print; next } { print }' > src/include/pg_config_manual.h.new; \
7777
grep '/var/run/postgresql' src/include/pg_config_manual.h.new; \
7878
mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; \
7979
gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \

0 commit comments

Comments
 (0)