1--- postgresql-9.0.1/src/include/pg_config_manual.h 2010-10-01 07:25:44.000000000 -0700 2+++ postgresql/src/include/pg_config_manual.h 2010-12-14 12:36:07.000000000 -0800 3@@ -141,7 +141,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 "/var/pgsql_socket" 9 10 /* 11 * The random() function is expected to yield values between 0 and 12 13