aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-10-16 12:32:28 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2018-10-16 12:32:28 -0400
commit94ccffb2b5b22408f0f5395b820bcfa5c1b172d3 (patch)
treec4a9d1988d321d029b66df3166e591ce42d2cb25 /src/backend/tcop/postgres.c
parent4f6a77e46af26eeeecfd75d50eabd090eb99f3c8 (diff)
downloadpostgresql-94ccffb2b5b22408f0f5395b820bcfa5c1b172d3.tar.gz
postgresql-94ccffb2b5b22408f0f5395b820bcfa5c1b172d3.zip
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
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions