From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Tatsuo Ishii <ishii(at)postgresql(dot)org> |
Cc: | tharakan(at)gmail(dot)com, pgsql-bugs(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: [HACKERS] pgbench -C -M prepared gives an error |
Date: | 2016-03-17 02:30:06 |
Message-ID: | 1563.1458181806@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-hackers |
Tatsuo Ishii <ishii(at)postgresql(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Tatsuo Ishii | 2016-03-17 02:43:21 | Re: [HACKERS] pgbench -C -M prepared gives an error |
Previous Message | Thomas Munro | 2016-03-17 02:23:02 | Re: to_char(OF) is broken |
From | Date | Subject | |
---|---|---|---|
Next Message | Tatsuo Ishii | 2016-03-17 02:43:21 | Re: [HACKERS] pgbench -C -M prepared gives an error |
Previous Message | Andres Freund | 2016-03-17 02:04:26 | Re: Performance degradation in commit ac1d794 |