1--- a/src/include/pg_config_manual.h
2+++ b/src/include/pg_config_manual.h
3@@ -179,7 +179,7 @@
4 * here's where to twiddle it. You can also override this at runtime
5 * with the postmaster's -k switch.
6 */
7-#define DEFAULT_PGSOCKET_DIR "/tmp"
8+#define DEFAULT_PGSOCKET_DIR "/run/postgresql"
9
10 /*
11 * This is the default event source for Windows event log.