diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2014-12-13 11:49:16 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2014-12-13 11:49:41 -0500 |
commit | b0f479113abaf28f1c9ed25d856ffe6fd4bb7dc9 (patch) | |
tree | 50f883e1cf945a912e97d844cde8500e437dcfcd /src/test/modules/commit_ts/sql/commit_timestamp.sql | |
parent | 50f2c0687fabde9c665df66f77b464c539d927a9 (diff) | |
download | postgresql-b0f479113abaf28f1c9ed25d856ffe6fd4bb7dc9.tar.gz postgresql-b0f479113abaf28f1c9ed25d856ffe6fd4bb7dc9.zip |
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.
Diffstat (limited to 'src/test/modules/commit_ts/sql/commit_timestamp.sql')
0 files changed, 0 insertions, 0 deletions