BUG #19068: postgresql-server-dev-17 from apt.postgresql.org installs libpq-int.h for 18 version

PG Bug reporting form <noreply@postgresql.org>

From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: rekgrpth@gmail.com
Date: 2025-10-02T11:08:10Z
Lists: pgsql-bugs

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Move GSSAPI includes into its own header

The following bug has been logged on the website:

Bug reference:      19068
Logged by:          RekGRpth
Email address:      rekgrpth@gmail.com
PostgreSQL version: 17.6
Operating system:   Ubuntu 24
Description:        

postgresql-server-dev-17 from apt.postgresql.org installs libpq-int.h for 18
version
```
/usr/include/postgresql/internal/libpq-int.h:47:10: fatal error:
libpq/pg-gssapi.h: No such file or directory
   47 | #include "libpq/pg-gssapi.h"
      |          ^~~~~~~~~~~~~~~~~~~
```

libpq/pg-gssapi.h appears only in 18 in commit e92c063