pgsql: pgbench: If we fail to send a command to the server, fail.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: pgbench: If we fail to send a command to the server, fail.
Date: 2017-09-29 17:59:45
Message-ID: E1dxzZh-0007S2-3o@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pgbench: If we fail to send a command to the server, fail.

This beats the old behavior of busy-waiting hands down.

Oversight in commit 12788ae49e1933f463bc59a6efe46c4a01701b76.

Report by Pavan Deolasee. Patch by Fabien Coelho. Reviewed by
Pavan Deolasee.

Discussion: http://postgr.es/m/CABOikdPhfXTypckMC1Ux6Ko+hKBWwUBA=EXsvamXYSg8M9J94w@mail.gmail.com

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/434146d21666dd2023705fb26582918212e124d1

Modified Files
--------------
src/bin/pgbench/pgbench.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2017-09-29 20:03:38 pgsql: psql: Don't try to print a partition constraint we didn't fetch.
Previous Message Peter Eisentraut 2017-09-29 17:43:52 pgsql: psql: Update \d sequence display