Skip to content

Commit 100a6e1

Browse files
committed
fix: update path to 05-supautils
1 parent f18cd9e commit 100a6e1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Dockerfile-17

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ RUN \
183183
RUN sed -i 's/ timescaledb,//g;' "/etc/postgresql/postgresql.conf"
184184
#as of pg 16.4 + this db_user_namespace totally deprecated and will break the server if setting is present
185185
RUN sed -i 's/db_user_namespace = off/#db_user_namespace = off/g;' "/etc/postgresql/postgresql.conf"
186-
RUN sed -i 's/ timescaledb,//g; s/ plv8,//g' "/etc/postgresql-custom/05-supautils.conf"
186+
RUN sed -i 's/ timescaledb,//g; s/ plv8,//g' "/etc/postgresql-custom/conf.d/05-supautils.conf"
187187

188188

189189

Dockerfile-orioledb-17

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ RUN \
183183
RUN sed -i 's/ timescaledb,//g;' "/etc/postgresql/postgresql.conf"
184184
#as of pg 16.4 + this db_user_namespace totally deprecated and will break the server if setting is present
185185
RUN sed -i 's/db_user_namespace = off/#db_user_namespace = off/g;' "/etc/postgresql/postgresql.conf"
186-
RUN sed -i 's/ timescaledb,//g; s/ plv8,//g; s/ postgis,//g; s/ pgrouting,//g' "/etc/postgresql-custom/05-supautils.conf"
186+
RUN sed -i 's/ timescaledb,//g; s/ plv8,//g; s/ postgis,//g; s/ pgrouting,//g' "/etc/postgresql-custom/conf.d/05-supautils.conf"
187187
RUN sed -i 's/\(shared_preload_libraries.*\)'\''\(.*\)$/\1, orioledb'\''\2/' "/etc/postgresql/postgresql.conf"
188188
RUN echo "default_table_access_method = 'orioledb'" >> "/etc/postgresql/postgresql.conf"
189189

nix/packages/lib.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
cp -r ${paths.postgresqlExtensionCustomScriptsPath}/* $out/extension-custom-scripts/ || { echo "Failed to copy custom scripts"; exit 1; }
107107
108108
echo "Copy operation completed"
109-
chmod 644 $out/etc/postgresql-custom/05-supautils.conf $out/etc/postgresql/postgresql.conf $out/etc/postgresql-custom/00-logging.conf $out/etc/postgresql/pg_hba.conf
109+
chmod 644 $out/etc/postgresql-custom/conf.d/05-supautils.conf $out/etc/postgresql/postgresql.conf $out/etc/postgresql-custom/00-logging.conf $out/etc/postgresql/pg_hba.conf
110110
111111
substitute ${../tools/run-server.sh.in} $out/bin/start-postgres-server \
112112
${

0 commit comments

Comments
 (0)