pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix "pg_bench -C -M prepared". 6+ messages / 1 participants [nested] [flat]
* pgsql: Fix "pg_bench -C -M prepared". @ 2016-03-17 03:18 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2016-03-17 03:18 UTC (permalink / raw) To: pgsql-committers Fix "pg_bench -C -M prepared". This didn't work because when we dropped and re-established a database connection, we did not bother to reset session-specific state such as the statements-are-prepared flags. The st->prepared[] array certainly needs to be flushed, and I cleared a couple of other fields as well that couldn't possibly retain meaningful state for a new connection. In passing, fix some bogus comments and strange field order choices. Per report from Robins Tharakan. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/47211af17a2dbee38b53b2ea6de81499dbb2c7f5 Modified Files -------------- src/bin/pgbench/pgbench.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix "pg_bench -C -M prepared". @ 2016-03-17 03:18 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2016-03-17 03:18 UTC (permalink / raw) To: pgsql-committers Fix "pg_bench -C -M prepared". This didn't work because when we dropped and re-established a database connection, we did not bother to reset session-specific state such as the statements-are-prepared flags. The st->prepared[] array certainly needs to be flushed, and I cleared a couple of other fields as well that couldn't possibly retain meaningful state for a new connection. In passing, fix some bogus comments and strange field order choices. Per report from Robins Tharakan. Branch ------ REL9_5_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/8ee2e5f78cd7f99d41ddf2c396d83adb6f9df2db Modified Files -------------- src/bin/pgbench/pgbench.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix "pg_bench -C -M prepared". @ 2016-03-17 03:18 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2016-03-17 03:18 UTC (permalink / raw) To: pgsql-committers Fix "pg_bench -C -M prepared". This didn't work because when we dropped and re-established a database connection, we did not bother to reset session-specific state such as the statements-are-prepared flags. The st->prepared[] array certainly needs to be flushed, and I cleared a couple of other fields as well that couldn't possibly retain meaningful state for a new connection. In passing, fix some bogus comments and strange field order choices. Per report from Robins Tharakan. Branch ------ REL9_4_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/23cb32660c841d21a376642e40d8cfbea6c5f010 Modified Files -------------- contrib/pgbench/pgbench.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix "pg_bench -C -M prepared". @ 2016-03-17 03:18 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2016-03-17 03:18 UTC (permalink / raw) To: pgsql-committers Fix "pg_bench -C -M prepared". This didn't work because when we dropped and re-established a database connection, we did not bother to reset session-specific state such as the statements-are-prepared flags. The st->prepared[] array certainly needs to be flushed, and I cleared a couple of other fields as well that couldn't possibly retain meaningful state for a new connection. In passing, fix some bogus comments and strange field order choices. Per report from Robins Tharakan. Branch ------ REL9_3_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/c02aae418527ec6f5178c68e2980e02d36090c42 Modified Files -------------- contrib/pgbench/pgbench.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix "pg_bench -C -M prepared". @ 2016-03-17 03:18 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2016-03-17 03:18 UTC (permalink / raw) To: pgsql-committers Fix "pg_bench -C -M prepared". This didn't work because when we dropped and re-established a database connection, we did not bother to reset session-specific state such as the statements-are-prepared flags. The st->prepared[] array certainly needs to be flushed, and I cleared a couple of other fields as well that couldn't possibly retain meaningful state for a new connection. In passing, fix some bogus comments and strange field order choices. Per report from Robins Tharakan. Branch ------ REL9_2_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/be6f9ea2eadc4d58ca6d338491f8451c90b5a369 Modified Files -------------- contrib/pgbench/pgbench.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix "pg_bench -C -M prepared". @ 2016-03-17 03:18 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2016-03-17 03:18 UTC (permalink / raw) To: pgsql-committers Fix "pg_bench -C -M prepared". This didn't work because when we dropped and re-established a database connection, we did not bother to reset session-specific state such as the statements-are-prepared flags. The st->prepared[] array certainly needs to be flushed, and I cleared a couple of other fields as well that couldn't possibly retain meaningful state for a new connection. In passing, fix some bogus comments and strange field order choices. Per report from Robins Tharakan. Branch ------ REL9_1_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/1965a8ce1da1a8284530637b96115906722f1d03 Modified Files -------------- contrib/pgbench/pgbench.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2016-03-17 03:18 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2016-03-17 03:18 pgsql: Fix "pg_bench -C -M prepared". Tom Lane <tgl@sss.pgh.pa.us> 2016-03-17 03:18 pgsql: Fix "pg_bench -C -M prepared". Tom Lane <tgl@sss.pgh.pa.us> 2016-03-17 03:18 pgsql: Fix "pg_bench -C -M prepared". Tom Lane <tgl@sss.pgh.pa.us> 2016-03-17 03:18 pgsql: Fix "pg_bench -C -M prepared". Tom Lane <tgl@sss.pgh.pa.us> 2016-03-17 03:18 pgsql: Fix "pg_bench -C -M prepared". Tom Lane <tgl@sss.pgh.pa.us> 2016-03-17 03:18 pgsql: Fix "pg_bench -C -M prepared". Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox