diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2024-02-04 16:35:16 +0100 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2024-02-04 16:35:16 +0100 |
commit | 774bcffe4a9853a24e61d758637c0aad2871f1fb (patch) | |
tree | b4c208829843400b0f97e7404c48f3bb0b1badb1 /src/interfaces/libpq/libpq-int.h | |
parent | 53747f722228d2cd4d7054c4d509b27dc89306ae (diff) | |
download | postgresql-774bcffe4a9853a24e61d758637c0aad2871f1fb.tar.gz postgresql-774bcffe4a9853a24e61d758637c0aad2871f1fb.zip |
libpq: Change some static functions to extern
This is in preparation of a follow up commit that starts using these
functions from fe-cancel.c.
Author: Jelte Fennema-Nio <jelte.fennema@microsoft.com>
Discussion: https://postgr.es/m/AM5PR83MB0178D3B31CA1B6EC4A8ECC42F7529@AM5PR83MB0178.EURPRD83.prod.outlook.com
Diffstat (limited to 'src/interfaces/libpq/libpq-int.h')
-rw-r--r-- | src/interfaces/libpq/libpq-int.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/interfaces/libpq/libpq-int.h b/src/interfaces/libpq/libpq-int.h index 5ac50fe20cb..82c18f870d2 100644 --- a/src/interfaces/libpq/libpq-int.h +++ b/src/interfaces/libpq/libpq-int.h @@ -675,10 +675,15 @@ extern char *const pgresStatus[]; /* === in fe-connect.c === */ extern void pqDropConnection(PGconn *conn, bool flushInput); +extern bool pqConnectOptions2(PGconn *conn); #if defined(WIN32) && defined(SIO_KEEPALIVE_VALS) extern int pqSetKeepalivesWin32(pgsocket sock, int idle, int interval); #endif +extern int pqConnectDBStart(PGconn *conn); +extern int pqConnectDBComplete(PGconn *conn); +extern PGconn *pqMakeEmptyPGconn(void); extern void pqReleaseConnHosts(PGconn *conn); +extern void pqClosePGconn(PGconn *conn); extern int pqPacketSend(PGconn *conn, char pack_type, const void *buf, size_t buf_len); extern bool pqGetHomeDirectory(char *buf, int bufsize); |