pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Use the correct tuplestore read pointer in a NamedTuplestoreScan
2+ messages / 1 participants
[nested] [flat]

* pgsql: Use the correct tuplestore read pointer in a NamedTuplestoreScan
@ 2018-02-27 20:56 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2018-02-27 20:56 UTC (permalink / raw)
  To: pgsql-committers

Use the correct tuplestore read pointer in a NamedTuplestoreScan.

Tom Kazimiers reported that transition tables don't work correctly when
they are scanned by more than one executor node.  That's because commit
18ce3a4ab allocated separate read pointers for each executor node, as it
must, but failed to make them active at the appropriate times.  Repair.

Thomas Munro

Discussion: https://postgr.es/m/20180224034748.bixarv6632vbxgeb%40dewberry.localdomain

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/b9dac4a6eb41479d991249affe537e9861698271

Modified Files
--------------
src/backend/executor/nodeNamedtuplestorescan.c |  2 ++
src/test/regress/expected/plpgsql.out          | 22 ++++++++++++++++++++++
src/test/regress/sql/plpgsql.sql               | 26 ++++++++++++++++++++++++++
3 files changed, 50 insertions(+)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Use the correct tuplestore read pointer in a NamedTuplestoreScan
@ 2018-02-27 20:56 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2018-02-27 20:56 UTC (permalink / raw)
  To: pgsql-committers

Use the correct tuplestore read pointer in a NamedTuplestoreScan.

Tom Kazimiers reported that transition tables don't work correctly when
they are scanned by more than one executor node.  That's because commit
18ce3a4ab allocated separate read pointers for each executor node, as it
must, but failed to make them active at the appropriate times.  Repair.

Thomas Munro

Discussion: https://postgr.es/m/20180224034748.bixarv6632vbxgeb%40dewberry.localdomain

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e98a4de7d23a54a6c861795ad8e920a59613e08b

Modified Files
--------------
src/backend/executor/nodeNamedtuplestorescan.c |  2 ++
src/test/regress/expected/plpgsql.out          | 22 ++++++++++++++++++++++
src/test/regress/sql/plpgsql.sql               | 26 ++++++++++++++++++++++++++
3 files changed, 50 insertions(+)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2018-02-27 20:56 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-02-27 20:56 pgsql: Use the correct tuplestore read pointer in a NamedTuplestoreScan Tom Lane <tgl@sss.pgh.pa.us>
2018-02-27 20:56 pgsql: Use the correct tuplestore read pointer in a NamedTuplestoreScan Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox