aboutsummaryrefslogtreecommitdiff
path: root/overlays/databases/postgresql/postgresql_run_socket_path.patch
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-05-02 02:17:28 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-05-02 02:17:28 +0200
commitc1b6f97a72e0b4897ce11414df28259d4ea3c5ab (patch)
treef0fb690030fd261b32798f5084220a7f83a3fe61 /overlays/databases/postgresql/postgresql_run_socket_path.patch
parent5010032101ed3bceaa40fb0a631066e8098c1d7e (diff)
downloadNix-c1b6f97a72e0b4897ce11414df28259d4ea3c5ab.tar.gz
Nix-c1b6f97a72e0b4897ce11414df28259d4ea3c5ab.tar.zst
Nix-c1b6f97a72e0b4897ce11414df28259d4ea3c5ab.zip
Move some overlays to parent directory
Diffstat (limited to 'overlays/databases/postgresql/postgresql_run_socket_path.patch')
-rw-r--r--overlays/databases/postgresql/postgresql_run_socket_path.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/overlays/databases/postgresql/postgresql_run_socket_path.patch b/overlays/databases/postgresql/postgresql_run_socket_path.patch
new file mode 100644
index 0000000..b558c7b
--- /dev/null
+++ b/overlays/databases/postgresql/postgresql_run_socket_path.patch
@@ -0,0 +1,12 @@
1diff -Naur postgresql-9.2.0.sockets/src/include/pg_config_manual.h postgresql-9.2.0/src/include/pg_config_manual.h
2--- postgresql-9.2.0.sockets/src/include/pg_config_manual.h 2012-09-06 17:26:17.000000000 -0400
3+++ postgresql-9.2.0/src/include/pg_config_manual.h 2012-09-06 18:13:18.183092471 -0400
4@@ -144,7 +144,7 @@
5 * here's where to twiddle it. You can also override this at runtime
6 * with the postmaster's -k switch.
7 */
8-#define DEFAULT_PGSOCKET_DIR "/tmp"
9+#define DEFAULT_PGSOCKET_DIR "/run/postgresql"
10
11 /*
12 * The random() function is expected to yield values between 0 and