Remove declarations for pq_putmessage_hook and pq_flush_hook.
authorRobert Haas <[email protected]>
Mon, 31 Oct 2016 13:14:46 +0000 (09:14 -0400)
committerRobert Haas <[email protected]>
Mon, 31 Oct 2016 13:14:46 +0000 (09:14 -0400)
Commit 2bd9e412f92bc6a68f3e8bcb18e04955cc35001d added these in error.
They were part of an earlier design for that patch and survived in the
committed version only by inadvertency.

Julien Rouhaud

src/include/libpq/libpq.h

index 18052cbfef86d51a0d08149d72148e4263ebc921..5fac8171ed8185d0270028abca325dee95695f8e 100644 (file)
@@ -81,9 +81,6 @@ extern char *ssl_key_file;
 extern char *ssl_ca_file;
 extern char *ssl_crl_file;
 
-extern int (*pq_putmessage_hook) (char msgtype, const char *s, size_t len);
-extern int (*pq_flush_hook) (void);
-
 extern int secure_initialize(void);
 extern bool secure_loaded_verify_locations(void);
 extern void secure_destroy(void);