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
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/304007d9f1f66fd37e50e5a5aa6f17400f1239f8
Modified Files
--------------
src/backend/executor/nodeNamedtuplestorescan.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)