Re: [BUGS] pgbench -C -M prepared gives an error

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: [BUGS] pgbench -C -M prepared gives an error
Дата
Msg-id alpine.DEB.2.10.1603170853230.22499@sto
обсуждение исходный текст
Ответ на Re: [BUGS] pgbench -C -M prepared gives an error  (Tatsuo Ishii <ishii@postgresql.org>)
Ответы Re: [BUGS] pgbench -C -M prepared gives an error  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: "Shulgin, Oleksandr"
Дата:
Сообщение: Re: pg_hba_lookup function to get all matching pg_hba.conf entries
Следующее
От: Petr Jelinek
Дата:
Сообщение: Re: Relation extension scalability