1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-12 05:01:15 +03:00

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.
This commit is contained in:
Tom Lane
2000-07-08 03:04:41 +00:00
parent a98eaa0191
commit ba62fe32c3
18 changed files with 56 additions and 2227 deletions

View File

@@ -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;
}