Re: Add version macro to libpq-fe.h
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvaro.herrera@2ndquadrant.com>
Cc: Boris Kolpackov <boris@codesynthesis.com>,
pgsql-hackers@lists.postgresql.org
Date: 2021-06-18T17:44:33Z
Lists: pgsql-hackers
Attachments
- libpq-feature-test-macros-1.patch (text/x-diff) patch
Alvaro Herrera <alvaro.herrera@2ndquadrant.com> writes: > So I'm +1 on adding this "feature macro". Concretely, how about the attached? (I also got rid of a recently-added extra comma. While the compilers we use might not warn about that, it seems unwise to assume that no user's compiler will.) I guess one unresolved question is whether we want to mention these in the SGML docs. I vote "no", because it'll raise the maintenance cost noticeably. But I can see an argument on the other side. regards, tom lane
Commits
-
Provide feature-test macros for libpq features added in v14.
- 6991e774e030 14.0 landed
-
Adjust batch size in postgres_fdw to not use too many parameters
- cb92703384e2 14.0 cited
-
Arrange to strip libpq.so of symbols that aren't officially supposed to
- 1e7bb2da573e 8.2.0 cited