Re: [BUGS] pgbench -C -M prepared gives an error - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: [BUGS] pgbench -C -M prepared gives an error
Date
Msg-id alpine.DEB.2.10.1603170853230.22499@sto
Whole thread Raw
In response to Re: [BUGS] pgbench -C -M prepared gives an error  (Tatsuo Ishii <ishii@postgresql.org>)
Responses Re: [BUGS] pgbench -C -M prepared gives an error
List pgsql-hackers
Hello Tatsuo,

>> We're not resetting the prepared[] array when we pull the plug on an
>> existing connection.
>>
>> Is a connection per transaction really a sane case to consider?
>
> Yes, I would think. This case reveals the connection overhead. We
> already are able to handle the simple query cases. Why not for
> extended query cases?

Probably it can be made to work, but it is much less useful to prepare a 
statement which is known to be needed just once, so I think it would be 
fine to simply forbid "-M prepared" and "-C" together.

-- 
Fabien.



pgsql-hackers by date:

Previous
From: "Shulgin, Oleksandr"
Date:
Subject: Re: pg_hba_lookup function to get all matching pg_hba.conf entries
Next
From: Petr Jelinek
Date:
Subject: Re: Relation extension scalability