Skip to content

Commit ba62fe3

Browse files
committed
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.
1 parent a98eaa0 commit ba62fe3

File tree

18 files changed

+55
-2226
lines changed

18 files changed

+55
-2226
lines changed

src/backend/commands/async.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.65 2000/06/08 22:37:01 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.66 2000/07/08 03:04:12 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -87,6 +87,7 @@
8787
#include "libpq/libpq.h"
8888
#include "libpq/pqformat.h"
8989
#include "miscadmin.h"
90+
#include "tcop/dest.h"
9091
#include "utils/fmgroids.h"
9192
#include "utils/ps_status.h"
9293
#include "utils/syscache.h"

src/backend/libpq/Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,17 @@
44
# Makefile for libpq subsystem (backend half of libpq interface)
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/backend/libpq/Makefile,v 1.20 2000/06/17 00:09:40 petere Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/libpq/Makefile,v 1.21 2000/07/08 03:04:39 tgl Exp $
88
#
99
#-------------------------------------------------------------------------
1010

1111
SRCDIR = ../..
1212
include ../../Makefile.global
1313

14-
OBJS = be-dumpdata.o be-fsstubs.o be-pqexec.o portal.o portalbuf.o \
15-
auth.o hba.o crypt.o password.o \
14+
# be-fsstubs is here for historical reasons, probably belongs elsewhere
15+
16+
OBJS = be-fsstubs.o \
17+
auth.o crypt.o hba.o password.o \
1618
pqcomm.o pqformat.o pqpacket.o pqsignal.o util.o
1719

1820

src/backend/libpq/be-dumpdata.c

Lines changed: 0 additions & 331 deletions
This file was deleted.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy