]> git.immae.eu Git - perso/Immae/Config/Nix/NUR.git/blame - overlays/databases/postgresql/postgresql_run_socket_path.patch
Initial commit published for NUR
[perso/Immae/Config/Nix/NUR.git] / overlays / databases / postgresql / postgresql_run_socket_path.patch
CommitLineData
24fd1fe6
IB
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