Commit | Line | Data |
---|---|---|
f552180d FF |
1 | diff -u -r ../postgresql-9.6.2/src/include/pg_config_manual.h ./src/include/pg_config_manual.h |
2 | --- ../postgresql-9.6.2/src/include/pg_config_manual.h 2017-02-06 22:45:25.000000000 +0100 | |
faa6f406 FF |
3 | +++ ./src/include/pg_config_manual.h 2017-03-05 12:52:20.798099131 +0100 |
4 | @@ -13,6 +13,8 @@ | |
5 | *------------------------------------------------------------------------ | |
6 | */ | |
7 | ||
8 | +#include <paths.h> | |
9 | + | |
10 | /* | |
11 | * Maximum length for identifiers (e.g. table names, column names, | |
12 | * function names). Names actually are limited to one less byte than this, | |
13 | @@ -124,7 +126,7 @@ | |
f552180d FF |
14 | /* |
15 | * Define this if your operating system supports link() | |
16 | */ | |
17 | -#if !defined(WIN32) && !defined(__CYGWIN__) | |
18 | +#if !defined(WIN32) && !defined(__CYGWIN__) && !defined(__ANDROID__) | |
19 | #define HAVE_WORKING_LINK 1 | |
20 | #endif | |
21 | ||
faa6f406 | 22 | @@ -182,7 +184,11 @@ |
7c9adcb9 FF |
23 | * here's where to twiddle it. You can also override this at runtime |
24 | * with the postmaster's -k switch. | |
25 | */ | |
faa6f406 FF |
26 | +#ifdef _PATH_TMP |
27 | +#define DEFAULT_PGSOCKET_DIR _PATH_TMP | |
7c9adcb9 | 28 | +#else |
faa6f406 | 29 | #define DEFAULT_PGSOCKET_DIR "/tmp" |
7c9adcb9 | 30 | +#endif |
faa6f406 | 31 | |
7c9adcb9 FF |
32 | /* |
33 | * This is the default event source for Windows event log. |