postgresql/src
Tom Lane 6991e774e0 Provide feature-test macros for libpq features added in v14.
We had a request to provide a way to test at compile time for the
availability of the new pipeline features.  More generally, it
seems like a good idea to provide a way to test via #ifdef for
all new libpq API features.  People have been using the version
from pg_config.h for that; but that's more likely to represent the
server version than the libpq version, in the increasingly-common
scenario where they're different.  It's safer if libpq-fe.h itself
is the source of truth about what features it offers.

Hence, establish a policy that starting in v14 we'll add a suitable
feature-is-present macro to libpq-fe.h when we add new API there.
(There doesn't seem to be much point in applying this policy
retroactively, but it's not too late for v14.)

Tom Lane and Alvaro Herrera, per suggestion from Boris Kolpackov.

Discussion: https://postgr.es/m/boris.20210617102439@codesynthesis.com
2021-06-19 11:44:39 -04:00
..
backend Handle no replica identity index case in RelationGetIdentityKeyBitmap. 2021-06-19 11:36:33 +05:30
bin Support disabling index bypassing by VACUUM. 2021-06-18 20:04:07 -07:00
common Fix incautious handling of possibly-miscoded strings in client code. 2021-06-07 14:15:25 -04:00
fe_utils Fix incautious handling of possibly-miscoded strings in client code. 2021-06-07 14:15:25 -04:00
include Support disabling index bypassing by VACUUM. 2021-06-18 20:04:07 -07:00
interfaces Provide feature-test macros for libpq features added in v14. 2021-06-19 11:44:39 -04:00
makefiles Add NO_INSTALL option to pgxs 2021-05-27 13:58:29 +02:00
pl Reconsider the handling of procedure OUT parameters. 2021-06-10 17:11:36 -04:00
port Fix error handling in replacement pthread_barrier_init(). 2021-06-01 11:31:06 +12:00
template
test Handle no replica identity index case in RelationGetIdentityKeyBitmap. 2021-06-19 11:36:33 +05:30
timezone
tools fix syntax error 2021-05-28 09:35:11 -04:00
tutorial
.gitignore
DEVELOPERS
Makefile
Makefile.global.in
Makefile.shlib
nls-global.mk