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