Move connect.h from fe_utils to src/include/common.
Noah Misch <noah@leadboat.com>
Move connect.h from fe_utils to src/include/common. Any libpq client can use the header. Clients include backend components postgres_fdw, dblink, and logical replication apply worker. Back-patch to v10, because another fix needs this. In released branches, just copy the header and keep the original.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/oid2name/oid2name.c | modified | +1 −1 |
| contrib/vacuumlo/vacuumlo.c | modified | +1 −1 |
| src/bin/pg_basebackup/streamutil.c | modified | +1 −1 |
| src/bin/pg_dump/pg_backup_db.c | modified | +1 −1 |
| src/bin/pg_dump/pg_dumpall.c | modified | +1 −1 |
| src/bin/pg_dump/pg_dump.c | modified | +1 −1 |
| src/bin/pg_rewind/libpq_fetch.c | modified | +1 −1 |
| src/bin/pg_upgrade/server.c | modified | +1 −1 |
| src/bin/scripts/common.c | modified | +1 −1 |
| src/bin/scripts/reindexdb.c | modified | +1 −1 |
| src/bin/scripts/vacuumdb.c | modified | +1 −1 |
| src/fe_utils/cancel.c | modified | +1 −1 |
| src/include/common/connect.h (from src/include/fe_utils/connect.h) | renamed | +1 −1 |
| src/tools/findoidjoins/findoidjoins.c | modified | +1 −1 |