Thread: [COMMITTERS] pgsql: pgbench: If we fail to send a command to the server, fail.

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

From
Robert Haas
Date:
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(-)


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