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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUGS] pgbench -C -M prepared gives an error
Дата
Msg-id 1563.1458181806@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [BUGS] pgbench -C -M prepared gives an error  (Tatsuo Ishii <ishii@postgresql.org>)
Ответы Re: [BUGS] pgbench -C -M prepared gives an error  (Tatsuo Ishii <ishii@postgresql.org>)
Список pgsql-hackers
Tatsuo Ishii <ishii@postgresql.org> writes:
> Sounds like a bug. We should either fix pgbench so that -M and -C can
> be used together (I don't see any technical reason why we can't do
> this) or modify pgbench to not allow using -M and -C (less desirable).

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?
I can certainly understand why bugs in that code path might go
undetected for years.
        regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Performance degradation in commit ac1d794
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: [BUGS] pgbench -C -M prepared gives an error