pgsql: Don't include latch.h in libpq/libpq.h

From: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Don't include latch.h in libpq/libpq.h
Date: 2026-02-26 17:06:34
Message-ID: E1vveos-001HLe-1w@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Don't include latch.h in libpq/libpq.h

This reduces the inclusion footprint of latch.h a bit.

Per suggestion from Andres Freund.

Discussion: https://postgr.es/m/pap7mzhcxvuwlfdebjkh646ntyk4brtwm4dbocfpllwdccta5t@w3d7wz6mjpwv

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7b9b620d8fc764bda2b580dc7e654f6505934480

Modified Files
--------------
src/backend/libpq/be-secure-gssapi.c | 1 +
src/backend/libpq/be-secure.c | 1 +
src/backend/libpq/pqcomm.c | 1 +
src/include/libpq/libpq.h | 5 ++++-
4 files changed, 7 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2026-02-26 17:07:15 pgsql: Use CXXFLAGS instead of CFLAGS for linking C++ code
Previous Message Andres Freund 2026-02-26 16:14:17 pgsql: instrumentation: Rename INSTR_TIME_LT macro to INSTR_TIME_GT