| 1 | |
| 2 | #if !defined(PG_VERSION_NUM) |
| 3 | #error VERROR_MESSAGE PG_VERSION_NUM is not defined. Please install the development headers for PostgreSQL, they are usually in a package named libpq-dev |
| 4 | #endif |
| 5 | |
| 6 | #if PG_VERSION_NUM < 100000 |
| 7 | #define CONNECTION_CHECK_WRITABLE 9 |
| 8 | #endif |
| 9 | |
| 10 | #if PG_VERSION_NUM < 100000 |
| 11 | #define CONNECTION_CONSUME 10 |
| 12 | #endif |
| 13 | |
| 14 | #if PG_VERSION_NUM < 120000 |
| 15 | #define CONNECTION_GSS_STARTUP 11 |
| 16 | #endif |
| 17 |