From adbfab119b308a7e0e6b1305de9be222cfd5c85b Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 20 Nov 2014 20:20:54 -0500 Subject: Remove dead code supporting mark/restore in SeqScan, TidScan, ValuesScan. There seems no prospect that any of this will ever be useful, and indeed it's questionable whether some of it would work if it ever got called; it's certainly not been exercised in a very long time, if ever. So let's get rid of it, and make the comments about mark/restore in execAmi.c less wishy-washy. The mark/restore support for Result nodes is also currently dead code, but that's due to planner limitations not because it's impossible that it could be useful. So I left it in. --- src/include/executor/nodeSeqscan.h | 2 -- src/include/executor/nodeTidscan.h | 2 -- src/include/executor/nodeValuesscan.h | 2 -- 3 files changed, 6 deletions(-) (limited to 'src/include/executor') diff --git a/src/include/executor/nodeSeqscan.h b/src/include/executor/nodeSeqscan.h index 86f99d8384b..4dc74314bee 100644 --- a/src/include/executor/nodeSeqscan.h +++ b/src/include/executor/nodeSeqscan.h @@ -19,8 +19,6 @@ extern SeqScanState *ExecInitSeqScan(SeqScan *node, EState *estate, int eflags); extern TupleTableSlot *ExecSeqScan(SeqScanState *node); extern void ExecEndSeqScan(SeqScanState *node); -extern void ExecSeqMarkPos(SeqScanState *node); -extern void ExecSeqRestrPos(SeqScanState *node); extern void ExecReScanSeqScan(SeqScanState *node); #endif /* NODESEQSCAN_H */ diff --git a/src/include/executor/nodeTidscan.h b/src/include/executor/nodeTidscan.h index 813aab5d9fe..d8679a00f5f 100644 --- a/src/include/executor/nodeTidscan.h +++ b/src/include/executor/nodeTidscan.h @@ -19,8 +19,6 @@ extern TidScanState *ExecInitTidScan(TidScan *node, EState *estate, int eflags); extern TupleTableSlot *ExecTidScan(TidScanState *node); extern void ExecEndTidScan(TidScanState *node); -extern void ExecTidMarkPos(TidScanState *node); -extern void ExecTidRestrPos(TidScanState *node); extern void ExecReScanTidScan(TidScanState *node); #endif /* NODETIDSCAN_H */ diff --git a/src/include/executor/nodeValuesscan.h b/src/include/executor/nodeValuesscan.h index 4864d1a9ac7..17bf399352a 100644 --- a/src/include/executor/nodeValuesscan.h +++ b/src/include/executor/nodeValuesscan.h @@ -19,8 +19,6 @@ extern ValuesScanState *ExecInitValuesScan(ValuesScan *node, EState *estate, int eflags); extern TupleTableSlot *ExecValuesScan(ValuesScanState *node); extern void ExecEndValuesScan(ValuesScanState *node); -extern void ExecValuesMarkPos(ValuesScanState *node); -extern void ExecValuesRestrPos(ValuesScanState *node); extern void ExecReScanValuesScan(ValuesScanState *node); #endif /* NODEVALUESSCAN_H */ -- cgit v1.2.3