pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Add some test coverage of EvalPlanQual with non-locked tables.
3+ messages / 2 participants
[nested] [flat]

* pgsql: Add some test coverage of EvalPlanQual with non-locked tables.
@ 2015-07-29 17:28  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2015-07-29 17:28 UTC (permalink / raw)
  To: pgsql-committers

Add some test coverage of EvalPlanQual with non-locked tables.

A Salesforce colleague of mine griped that the regression tests don't
exercise EvalPlanQualFetchRowMarks() and allied routines.  Which is
a fair complaint.  Add test cases that go through the REFERENCE and COPY
code paths.  Unfortunately we don't have sufficient infrastructure right
now to exercise the FDW code path in the isolation tests, but this is
surely better than before.

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/3ef1a682d5e4a919dcaddc8256ea65de91654d1c

Modified Files
--------------
src/test/isolation/expected/eval-plan-qual.out |   40 ++++++++++++++++++++++++
src/test/isolation/specs/eval-plan-qual.spec   |   16 ++++++++++
2 files changed, 56 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


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

* pgsql: Add some test coverage of EvalPlanQual with non-locked tables.
@ 2015-07-29 17:28  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 3+ messages in thread

From: Tom Lane @ 2015-07-29 17:28 UTC (permalink / raw)
  To: pgsql-committers

Add some test coverage of EvalPlanQual with non-locked tables.

A Salesforce colleague of mine griped that the regression tests don't
exercise EvalPlanQualFetchRowMarks() and allied routines.  Which is
a fair complaint.  Add test cases that go through the REFERENCE and COPY
code paths.  Unfortunately we don't have sufficient infrastructure right
now to exercise the FDW code path in the isolation tests, but this is
surely better than before.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/342a1ffa2177c0b260b68d7891b0d04598a58432

Modified Files
--------------
src/test/isolation/expected/eval-plan-qual.out |   40 ++++++++++++++++++++++++
src/test/isolation/specs/eval-plan-qual.spec   |   16 ++++++++++
2 files changed, 56 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


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

* Re: pgsql: Add some test coverage of EvalPlanQual with non-locked tables.
@ 2015-07-29 17:39  Alvaro Herrera <alvherre@2ndquadrant.com>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Alvaro Herrera @ 2015-07-29 17:39 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-committers

Tom Lane wrote:
> Add some test coverage of EvalPlanQual with non-locked tables.
> 
> A Salesforce colleague of mine griped that the regression tests don't
> exercise EvalPlanQualFetchRowMarks() and allied routines.  Which is
> a fair complaint.  Add test cases that go through the REFERENCE and COPY
> code paths.  Unfortunately we don't have sufficient infrastructure right
> now to exercise the FDW code path in the isolation tests, but this is
> surely better than before.

FWIW the test_decoding module has isolation tests (pretty ugly
admittedly).  I guess you could do something similar in the postgres_fdw
module.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



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


end of thread, other threads:[~2015-07-29 17:39 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-07-29 17:28 pgsql: Add some test coverage of EvalPlanQual with non-locked tables. Tom Lane <tgl@sss.pgh.pa.us>
2015-07-29 17:39 ` Alvaro Herrera <alvherre@2ndquadrant.com>
2015-07-29 17:28 pgsql: Add some test coverage of EvalPlanQual with non-locked tables. 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