]> granicus.if.org Git - postgresql/commit
Remove dead code supporting mark/restore in SeqScan, TidScan, ValuesScan.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 21 Nov 2014 01:20:54 +0000 (20:20 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 21 Nov 2014 01:20:54 +0000 (20:20 -0500)
commitadbfab119b308a7e0e6b1305de9be222cfd5c85b
treeed4697f645d855d8d7c7ffef73eecd3d8ba05133
parenta34fa8ee7cc757671632dc4dcae4f21e8f2e2357
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/backend/access/heap/heapam.c
src/backend/executor/execAmi.c
src/backend/executor/nodeSeqscan.c
src/backend/executor/nodeTidscan.c
src/backend/executor/nodeValuesscan.c
src/include/access/heapam.h
src/include/access/relscan.h
src/include/executor/nodeSeqscan.h
src/include/executor/nodeTidscan.h
src/include/executor/nodeValuesscan.h
src/include/nodes/execnodes.h