Revert "Rewrite some RI code to avoid using SPI"
authorAlvaro Herrera
Thu, 7 Apr 2022 21:42:13 +0000 (23:42 +0200)
committerAlvaro Herrera
Thu, 7 Apr 2022 21:42:13 +0000 (23:42 +0200)
commita90641eac24dfc8889122d88eb7f482cd3db8b39
tree2504b842babaeceb8bf9f29a700c27fe5fa6a55d
parent3e707fbb4009e9ac1d0e8b78b7af9f3f03f4cf1a
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/[email protected]
src/backend/executor/execPartition.c
src/backend/executor/nodeLockRows.c
src/backend/utils/adt/ri_triggers.c
src/include/executor/execPartition.h
src/include/executor/executor.h
src/test/isolation/expected/fk-snapshot.out
src/test/isolation/specs/fk-snapshot.spec