]> granicus.if.org Git - postgresql/commit
Pass EXEC_FLAG_REWIND when initializing a tuplestore scan.
authorRobert Haas <rhaas@postgresql.org>
Wed, 10 May 2017 03:13:21 +0000 (23:13 -0400)
committerRobert Haas <rhaas@postgresql.org>
Wed, 10 May 2017 03:13:21 +0000 (23:13 -0400)
commit304007d9f1f66fd37e50e5a5aa6f17400f1239f8
tree72e5894c924878f5c3743a41321eea4207458b6c
parent3439f84475642fab029df0c06c81df94e6941dc0
Pass EXEC_FLAG_REWIND when initializing a tuplestore scan.

Since a rescan is possible, we must be able to rewind.

Thomas Munro, per a report from Prabhat Sabu

Discussion: http://postgr.es/m/CAEepm=2=Uv5fm=exqL+ygBxaO+-tgmC=o+63H4zYAXi9HtXf1w@mail.gmail.com
src/backend/executor/nodeNamedtuplestorescan.c