]> git.ipfire.org Git - thirdparty/postgresql.git/commit
pgbench: If we fail to send a command to the server, fail.
authorRobert Haas <rhaas@postgresql.org>
Fri, 29 Sep 2017 17:51:14 +0000 (13:51 -0400)
committerRobert Haas <rhaas@postgresql.org>
Fri, 29 Sep 2017 17:56:04 +0000 (13:56 -0400)
commit434146d21666dd2023705fb26582918212e124d1
treed7b9890534d80533753f2bac680b43ee4a555343
parent5cc5987cedd8c60c738135abcb25df5247db7d1e
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
src/bin/pgbench/pgbench.c