postgres.git / summary / log / commit / refs
commit 01cca2c1b1a0d52c83f250c50942ee00e62637ca
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Sun Mar 08 17:42:59 2015 +0000
First released in: 9.5.0
Remove struct PQArgBlock from server-side header libpq/libpq.h.
This struct is purely a client-side artifact. Perhaps there was once
reason for the server to know it, but any such reason is lost in the
mists of time. We certainly don't need two independent declarations
of it.
src/include/libpq/libpq.h | 16 ----------------
1 file changed, 16 deletions(-)
diff --git a/src/include/libpq/libpq.h b/src/include/libpq/libpq.h
index af4ba2ab07c..8fa896eb39e 100644
--- a/src/include/libpq/libpq.h
+++ b/src/include/libpq/libpq.h
@@ -20,22 +20,6 @@
#include "lib/stringinfo.h"
#include "libpq/libpq-be.h"
-/* ----------------
- * PQArgBlock
- * Information (pointer to array of this structure) required
- * for the PQfn() call. (This probably ought to go somewhere else...)
- * ----------------
- */
-typedef struct
-{
- int len;
- int isint;
- union
- {
- int *ptr; /* can't use void (dec compiler barfs) */
- int integer;
- } u;
-} PQArgBlock;
typedef struct
{
[parent: 1a0bc4c2bfc2]