|
@ -1,7 +1,16 @@ |
|
|
diff -u -r ../postgresql-9.6.2/src/include/pg_config_manual.h ./src/include/pg_config_manual.h
|
|
|
diff -u -r ../postgresql-9.6.2/src/include/pg_config_manual.h ./src/include/pg_config_manual.h
|
|
|
--- ../postgresql-9.6.2/src/include/pg_config_manual.h 2017-02-06 22:45:25.000000000 +0100
|
|
|
--- ../postgresql-9.6.2/src/include/pg_config_manual.h 2017-02-06 22:45:25.000000000 +0100
|
|
|
+++ ./src/include/pg_config_manual.h 2017-03-05 12:33:31.343900518 +0100
|
|
|
+++ ./src/include/pg_config_manual.h 2017-03-05 12:52:20.798099131 +0100
|
|
|
@@ -124,7 +124,7 @@
|
|
|
@@ -13,6 +13,8 @@
|
|
|
|
|
|
*------------------------------------------------------------------------ |
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
+#include <paths.h>
|
|
|
|
|
|
+
|
|
|
|
|
|
/* |
|
|
|
|
|
* Maximum length for identifiers (e.g. table names, column names, |
|
|
|
|
|
* function names). Names actually are limited to one less byte than this, |
|
|
|
|
|
@@ -124,7 +126,7 @@
|
|
|
/* |
|
|
/* |
|
|
* Define this if your operating system supports link() |
|
|
* Define this if your operating system supports link() |
|
|
*/ |
|
|
*/ |
|
@ -10,17 +19,15 @@ diff -u -r ../postgresql-9.6.2/src/include/pg_config_manual.h ./src/include/pg_c |
|
|
#define HAVE_WORKING_LINK 1 |
|
|
#define HAVE_WORKING_LINK 1 |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
@@ -182,7 +182,11 @@
|
|
|
@@ -182,7 +184,11 @@
|
|
|
* here's where to twiddle it. You can also override this at runtime |
|
|
* here's where to twiddle it. You can also override this at runtime |
|
|
* with the postmaster's -k switch. |
|
|
* with the postmaster's -k switch. |
|
|
*/ |
|
|
*/ |
|
|
-#define DEFAULT_PGSOCKET_DIR "/tmp"
|
|
|
+#ifdef _PATH_TMP
|
|
|
+#ifdef P_tmpdir
|
|
|
+#define DEFAULT_PGSOCKET_DIR _PATH_TMP
|
|
|
+#define DEFAULT_PGSOCKET_DIR P_tmpdir
|
|
|
|
|
|
+#else
|
|
|
+#else
|
|
|
+#define DEFAULT_PGSOCKET_DIR "/tmp"
|
|
|
#define DEFAULT_PGSOCKET_DIR "/tmp" |
|
|
+#endif
|
|
|
+#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* |
|
|
/* |
|
|
* This is the default event source for Windows event log. |
|
|
* This is the default event source for Windows event log. |
|
|