postgresql/src/backend/access
Tom Lane c6e394c1a2 Small improvements for allocation logic in ginHeapTupleFastCollect().
Avoid repetitive calls to repalloc() when the required size of the
collector array grows more than 2x in one call.  Also ensure that the
array size is a power of 2 (since palloc will probably consume a power
of 2 anyway) and doesn't start out very small (which'd likely just lead
to extra repallocs).

David Rowley, tweaked a bit by me

Discussion: https://postgr.es/m/CAKJS1f8vn-iSBE8PKeVHrnhvyjRNYCxguPFFY08QLYmjWG9hPQ@mail.gmail.com
2018-12-19 11:41:36 -05:00
..
brin Remove WITH OIDS support, change oid catalog column visibility. 2018-11-20 16:00:17 -08:00
common Make collation-aware system catalog columns use "C" collation. 2018-12-18 12:48:15 -05:00
gin Small improvements for allocation logic in ginHeapTupleFastCollect(). 2018-12-19 11:41:36 -05:00
gist Remove WITH OIDS support, change oid catalog column visibility. 2018-11-20 16:00:17 -08:00
hash Remove deprecated abstime, reltime, tinterval datatypes. 2018-10-11 11:59:15 -07:00
heap Remove dead code in toast_fetch_datum_slice 2018-12-10 09:31:38 -05:00
index Add support for nearest-neighbor (KNN) searches to SP-GiST 2018-09-19 01:54:10 +03:00
nbtree Remove obsolete nbtree duplicate entries comment. 2018-12-18 21:40:38 -08:00
rmgrdesc Make WAL description output more consistent 2018-11-20 13:30:01 +01:00
spgist Fix memory leak in repeated SPGIST index scans. 2018-10-31 17:05:03 -04:00
tablesample Rethink how to get float.h in old Windows API for isnan/isinf 2018-07-11 09:11:48 -04:00
transam Improve detection of child-process SIGPIPE failures. 2018-12-16 14:32:14 -05:00
Makefile TABLESAMPLE, SQL Standard and extensible 2015-05-15 14:37:10 -04:00