pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Make PostgresNode.pm's poll_query_until() more chatty about fail
5+ messages / 1 participants
[nested] [flat]

* pgsql: Make PostgresNode.pm's poll_query_until() more chatty about fail
@ 2018-10-16 16:32 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 5+ messages in thread

From: Tom Lane @ 2018-10-16 16:32 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Make PostgresNode.pm's poll_query_until() more chatty about failures.

Reporting only the stderr is unhelpful when the problem is that the
server output we're getting doesn't match what was expected.  So we
should report the query output too; and just for good measure, let's
print the query we used and the output we expected.

Back-patch to 9.5 where poll_query_until was introduced.

Discussion: https://postgr.es/m/17913.1539634756@sss.pgh.pa.us

Branch
------
master

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

Modified Files
--------------
src/test/perl/PostgresNode.pm | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)



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

* pgsql: Make PostgresNode.pm's poll_query_until() more chatty about fail
@ 2018-10-16 16:32 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 5+ messages in thread

From: Tom Lane @ 2018-10-16 16:32 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Make PostgresNode.pm's poll_query_until() more chatty about failures.

Reporting only the stderr is unhelpful when the problem is that the
server output we're getting doesn't match what was expected.  So we
should report the query output too; and just for good measure, let's
print the query we used and the output we expected.

Back-patch to 9.5 where poll_query_until was introduced.

Discussion: https://postgr.es/m/17913.1539634756@sss.pgh.pa.us

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5f920def84a0df35e3a455068ba0ee0df0f45493

Modified Files
--------------
src/test/perl/PostgresNode.pm | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)



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

* pgsql: Make PostgresNode.pm's poll_query_until() more chatty about fail
@ 2018-10-16 16:32 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 5+ messages in thread

From: Tom Lane @ 2018-10-16 16:32 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Make PostgresNode.pm's poll_query_until() more chatty about failures.

Reporting only the stderr is unhelpful when the problem is that the
server output we're getting doesn't match what was expected.  So we
should report the query output too; and just for good measure, let's
print the query we used and the output we expected.

Back-patch to 9.5 where poll_query_until was introduced.

Discussion: https://postgr.es/m/17913.1539634756@sss.pgh.pa.us

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0a576cd2a9ab8267720709481cdbbd5e06988821

Modified Files
--------------
src/test/perl/PostgresNode.pm | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)



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

* pgsql: Make PostgresNode.pm's poll_query_until() more chatty about fail
@ 2018-10-16 16:32 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 5+ messages in thread

From: Tom Lane @ 2018-10-16 16:32 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Make PostgresNode.pm's poll_query_until() more chatty about failures.

Reporting only the stderr is unhelpful when the problem is that the
server output we're getting doesn't match what was expected.  So we
should report the query output too; and just for good measure, let's
print the query we used and the output we expected.

Back-patch to 9.5 where poll_query_until was introduced.

Discussion: https://postgr.es/m/17913.1539634756@sss.pgh.pa.us

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0ed4a47fbfbd0f22806dc14f70dcc42de07ce9f1

Modified Files
--------------
src/test/perl/PostgresNode.pm | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)



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

* pgsql: Make PostgresNode.pm's poll_query_until() more chatty about fail
@ 2018-10-16 16:32 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 5+ messages in thread

From: Tom Lane @ 2018-10-16 16:32 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Make PostgresNode.pm's poll_query_until() more chatty about failures.

Reporting only the stderr is unhelpful when the problem is that the
server output we're getting doesn't match what was expected.  So we
should report the query output too; and just for good measure, let's
print the query we used and the output we expected.

Back-patch to 9.5 where poll_query_until was introduced.

Discussion: https://postgr.es/m/17913.1539634756@sss.pgh.pa.us

Branch
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/94ccffb2b5b22408f0f5395b820bcfa5c1b172d3

Modified Files
--------------
src/bin/pg_rewind/RewindTest.pm | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)



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


end of thread, other threads:[~2018-10-16 16:32 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-10-16 16:32 pgsql: Make PostgresNode.pm's poll_query_until() more chatty about fail Tom Lane <tgl@sss.pgh.pa.us>
2018-10-16 16:32 pgsql: Make PostgresNode.pm's poll_query_until() more chatty about fail Tom Lane <tgl@sss.pgh.pa.us>
2018-10-16 16:32 pgsql: Make PostgresNode.pm's poll_query_until() more chatty about fail Tom Lane <tgl@sss.pgh.pa.us>
2018-10-16 16:32 pgsql: Make PostgresNode.pm's poll_query_until() more chatty about fail Tom Lane <tgl@sss.pgh.pa.us>
2018-10-16 16:32 pgsql: Make PostgresNode.pm's poll_query_until() more chatty about fail 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