From a90641eac24dfc8889122d88eb7f482cd3db8b39 Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Thu, 7 Apr 2022 23:42:13 +0200 Subject: Revert "Rewrite some RI code to avoid using SPI" This reverts commit 99392cdd78b788295e52b9f4942fa11992fd5ba9. We'd rather rewrite ri_triggers.c as a whole rather than piecemeal. Discussion: https://postgr.es/m/E1ncXX2-000mFt-Pe@gemulon.postgresql.org --- src/include/executor/execPartition.h | 6 ------ src/include/executor/executor.h | 8 -------- 2 files changed, 14 deletions(-) (limited to 'src/include/executor') diff --git a/src/include/executor/execPartition.h b/src/include/executor/execPartition.h index cbe1d996e6b..708435e9528 100644 --- a/src/include/executor/execPartition.h +++ b/src/include/executor/execPartition.h @@ -31,12 +31,6 @@ extern ResultRelInfo *ExecFindPartition(ModifyTableState *mtstate, EState *estate); extern void ExecCleanupTupleRouting(ModifyTableState *mtstate, PartitionTupleRouting *proute); -extern Relation ExecGetLeafPartitionForKey(Relation root_rel, - int key_natts, - const AttrNumber *key_attnums, - Datum *key_vals, char *key_nulls, - Oid root_idxoid, int lockmode, - Oid *leaf_idxoid); /* diff --git a/src/include/executor/executor.h b/src/include/executor/executor.h index 216d28679a6..873772f1883 100644 --- a/src/include/executor/executor.h +++ b/src/include/executor/executor.h @@ -651,14 +651,6 @@ extern void CheckCmdReplicaIdentity(Relation rel, CmdType cmd); extern void CheckSubscriptionRelkind(char relkind, const char *nspname, const char *relname); -/* - * prototypes from functions in nodeLockRows.c - */ -extern bool ExecLockTableTuple(Relation relation, ItemPointer tid, - TupleTableSlot *slot, Snapshot snapshot, - CommandId cid, LockTupleMode lockmode, - LockWaitPolicy waitPolicy, bool *epq_needed); - /* * prototypes from functions in nodeModifyTable.c */ -- cgit v1.2.3