diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-07-08 03:04:41 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-07-08 03:04:41 +0000 |
commit | ba62fe32c391a33eac533b0cc4d4c163e4844c56 (patch) | |
tree | 5e282d8e1ddbcfb3798054e7de8694347445b2bd /src/backend/libpq/pqcomm.c | |
parent | a98eaa0191b5b7ef3bc69a66e04ae4cf304072a0 (diff) | |
download | postgresql-ba62fe32c391a33eac533b0cc4d4c163e4844c56.tar.gz postgresql-ba62fe32c391a33eac533b0cc4d4c163e4844c56.zip |
Remove long-dead support for invoking queries from dynamically loaded
backend functions via backend PQexec(). The SPI interface has long
been our only documented way to do this, and the backend pqexec/portal
code is unused and suffering bit-rot. I'm putting it out of its misery.
Diffstat (limited to 'src/backend/libpq/pqcomm.c')
-rw-r--r-- | src/backend/libpq/pqcomm.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/backend/libpq/pqcomm.c b/src/backend/libpq/pqcomm.c index f0cd93b3872..0f3b3d4295b 100644 --- a/src/backend/libpq/pqcomm.c +++ b/src/backend/libpq/pqcomm.c @@ -29,7 +29,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: pqcomm.c,v 1.99 2000/07/03 20:45:57 petere Exp $ + * $Id: pqcomm.c,v 1.100 2000/07/08 03:04:40 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -79,9 +79,8 @@ #ifndef SOMAXCONN #define SOMAXCONN 5 /* from Linux listen(2) man page */ -#endif /* SOMAXCONN */ +#endif -extern FILE *debug_port; /* in util.c */ /* * Buffers for low-level I/O @@ -113,8 +112,6 @@ pq_init(void) { PqSendPointer = PqRecvPointer = PqRecvLength = 0; DoingCopyOut = false; - if (getenv("LIBPQ_DEBUG")) - debug_port = stderr; } |