1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-25 01:02:05 +03:00

Revert "Rewrite some RI code to avoid using SPI"

This reverts commit 99392cdd78.
We'd rather rewrite ri_triggers.c as a whole rather than piecemeal.

Discussion: https://postgr.es/m/E1ncXX2-000mFt-Pe@gemulon.postgresql.org
This commit is contained in:
Alvaro Herrera
2022-04-07 23:42:13 +02:00
parent 3e707fbb40
commit a90641eac2
7 changed files with 317 additions and 605 deletions

View File

@ -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
*/