RE: pgbench: option delaying queries till connections establishment? - Mailing list pgsql-hackers

From kuroda.hayato@fujitsu.com
Subject RE: pgbench: option delaying queries till connections establishment?
Date
Msg-id OSBPR01MB3157BE1BD073748D7E48DAF1F5170@OSBPR01MB3157.jpnprd01.prod.outlook.com
Whole thread Raw
In response to RE: pgbench: option delaying queries till connections establishment?  ("kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>)
List pgsql-hackers
Dear Fabien;

> The current implementation is too simple. If nthreads >= 2 and connection fails in the one thread,
> the other one will wait forever.

I attached the very preliminary patch for solving the problem.
Even if threads fail to connect, the others can go through the barrier.
But I think this implementation is not good...


Best Regards,
Hayato Kuroda
FUJITSU LIMITED


Attachment

pgsql-hackers by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Internal key management system
Next
From: "bucoo@sohu.com"
Date:
Subject: Re: parallel distinct union and aggregate support patch