postgresql/src
Tom Lane 9ccae6360d Repair corner-case bug in array version of percentile_cont().
The code for advancing through the input rows overlooked the case that we
might already be past the first row of the row pair now being considered,
in case the previous percentile also fell between the same two input rows.

Report and patch by Andrew Gierth; logic rewritten a bit for clarity by me.
2014-12-13 11:49:20 -05:00
..
backend Repair corner-case bug in array version of percentile_cont(). 2014-12-13 11:49:20 -05:00
bin Fix assorted confusion between Oid and int32. 2014-12-11 15:41:20 -05:00
common Small message fixes 2014-08-09 00:07:29 -04:00
include Move PG_AUTOCONF_FILENAME definition 2014-12-03 19:58:13 -05:00
interfaces Fix minor bugs in commit 30bf4689a9 et al. 2014-11-30 12:20:47 -05:00
makefiles Remove USE_VPATH make variable from PGXS 2014-12-04 08:45:48 -05:00
pl Improve error messages for malformed array input strings. 2014-12-02 18:23:32 -05:00
port Fix win32setlocale.c const-related warnings. 2014-11-02 21:44:21 -05:00
template Revert to using --enable-auto-import in Cygwin builds. 2014-02-16 15:14:04 -05:00
test Repair corner-case bug in array version of percentile_cont(). 2014-12-13 11:49:20 -05:00
timezone Update time zone data files to tzdata release 2014j. 2014-11-17 12:09:17 -05:00
tools Rework 'MOVE ALL' to 'ALTER .. ALL IN TABLESPACE' 2014-08-21 19:12:00 -04:00
tutorial pgindent run for 9.4 2014-05-06 12:12:18 -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 Fix PGXS vpath build when PostgreSQL is built with vpath 2014-12-04 17:03:37 -05:00
Makefile.shlib MinGW: Include .dll extension in .def file LIBRARY commands. 2014-10-27 19:59:52 -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