summaryrefslogtreecommitdiff
path: root/src/tutorial
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2014-12-13 11:49:20 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2014-12-13 11:49:20 -0500
commit9ccae6360df4a8be845e28b0ab9042ab09e8c397 (patch)
treea808c0922f780da7b53e6a723e1f425b40a12936 /src/tutorial
parent1a1fb46da4ca6ac0385bdd43a33e15b64370dfdd (diff)
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/tutorial')
0 files changed, 0 insertions, 0 deletions