]> granicus.if.org Git - postgresql/commit
Fix thinko in safeguard for negative availMem.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 8 Dec 2016 21:05:21 +0000 (23:05 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 8 Dec 2016 21:05:21 +0000 (23:05 +0200)
commit64bc26f90d342ca343f5ba383a97691a58991204
tree3513f93e0a16ebab5d1a12da2b9b84ea56010ee1
parent01ae881e1c83ddb79df0a5cf6cee38c3ce4a327b
Fix thinko in safeguard for negative availMem.

Also, use pass read_buffer_size * numInputTapes rather than just availMem
to USEMEM, to be neat.

Peter Geoghegan.
src/backend/utils/sort/tuplesort.c