postgresql/src
Tom Lane 8ee2e5f78c 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.
2016-03-16 23:18:07 -04:00
..
backend Avoid incorrectly indicating exclusion constraint wait 2016-03-15 18:04:48 -04:00
bin Fix "pg_bench -C -M prepared". 2016-03-16 23:18:07 -04:00
common pgindent run for 9.5 2015-05-23 21:35:49 -04:00
include Cope if platform declares mbstowcs_l(), but not locale_t, in <xlocale.h>. 2016-03-15 13:19:57 -04:00
interfaces Stamp 9.5.1. 2016-02-08 16:12:28 -05:00
makefiles Link $(WIN32RES) into single-file modules only when PGFILEDESC is set. 2015-08-05 20:45:21 -04:00
pl plperl: Correctly handle empty arrays in plperl_ref_from_pg_array. 2016-03-08 13:42:58 -08:00
port Stamp 9.5.1. 2016-02-08 16:12:28 -05:00
template AIX: Test the -qlonglong option before use. 2015-07-17 03:01:29 -04:00
test Fix incorrect handling of NULL index entries in indexed ROW() comparisons. 2016-03-09 14:51:01 -05:00
timezone Update time zone data files to tzdata release 2016a. 2016-02-05 10:59:21 -05:00
tools Add valgrind suppressions for python code. 2016-03-08 19:40:59 -08:00
tutorial Remove no-longer-required function declarations. 2015-05-24 12:20:23 -04:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
Makefile.global.in Back-patch fixes to make TAP tests work on Windows. 2015-11-17 14:10:24 -05:00
Makefile.shlib AIX: Link TRANSFORM modules with their dependencies. 2015-07-15 21:00:30 -04:00
nls-global.mk Setup error context callback for transaction lock waits 2014-03-19 15:10:36 -03:00
win32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00