Re: Feature-test macros for new-in-v17 libpq features

From: Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Feature-test macros for new-in-v17 libpq features
Date: 2024-08-22 17:22:47
Message-ID: CAOYmi+nMKmD2LjKGg+3KHqFHO1aUr-PF_b8Tw8G1uCJJDFMztg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Aug 22, 2024 at 10:16 AM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> In connection with that last point, I wonder if we should include
> commentary about when things came in. I'd originally thought of
> just inserting the above names in alphabetical order, but now I
> wonder if the patch ought to look more like
>
> */
> +/* Features added in PostgreSQL v14: */
> /* Indicates presence of PQenterPipelineMode and friends */
> #define LIBPQ_HAS_PIPELINING 1
> /* Indicates presence of PQsetTraceFlags; also new PQtrace output format */
> #define LIBPQ_HAS_TRACE_FLAGS 1
> +/* Features added in PostgreSQL v15: */
> /* Indicates that PQsslAttribute(NULL, "library") is useful */
> #define LIBPQ_HAS_SSL_LIBRARY_DETECTION 1
> +/* Features added in PostgreSQL v17: */
> + ... as above ...

+1, I like the new headers and keeping the version order.

Thanks!
--Jacob

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2024-08-22 17:25:07 Re: Add SPLIT PARTITION/MERGE PARTITIONS commands
Previous Message Bruce Momjian 2024-08-22 17:22:04 Re: Partial aggregates pushdown