postgresql/src/backend/access
Andres Freund 4c119fbcd4 Improve performance of SendRowDescriptionMessage.
There's three categories of changes leading to better performance:
- Splitting the per-attribute part of SendRowDescriptionMessage into a
  v2 and a v3 version allows avoiding branches for every attribute.
- Preallocating the size of the buffer to be big enough for all
  attributes and then using pq_write* avoids unnecessary buffer
  size checks & resizing.
- Reusing a persistently allocated StringInfo for all
  SendRowDescriptionMessage() invocations avoids repeated allocations
  & reallocations.

Author: Andres Freund
Discussion: https://postgr.es/m/20170914063418.sckdzgjfrsbekae4@alap3.anarazel.de
2017-10-11 17:23:23 -07:00
..
brin For wal_consistency_checking, mask page checksum as well as page LSN. 2017-09-22 14:28:22 -04:00
common Improve performance of SendRowDescriptionMessage. 2017-10-11 17:23:23 -07:00
gin For wal_consistency_checking, mask page checksum as well as page LSN. 2017-09-22 14:28:22 -04:00
gist For wal_consistency_checking, mask page checksum as well as page LSN. 2017-09-22 14:28:22 -04:00
hash Remove lsn from HashScanPosData. 2017-09-26 09:16:45 -04:00
heap Fix traversal of half-frozen update chains 2017-10-06 17:20:01 +02:00
index Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
nbtree For wal_consistency_checking, mask page checksum as well as page LSN. 2017-09-22 14:28:22 -04:00
rmgrdesc Remove dedicated B-tree root-split record types. 2017-08-16 12:24:40 +03:00
spgist For wal_consistency_checking, mask page checksum as well as page LSN. 2017-09-22 14:28:22 -04:00
tablesample Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
transam Remove unnecessary PG_TRY overhead for CurrentResourceOwner changes. 2017-10-11 17:44:09 -04:00
Makefile TABLESAMPLE, SQL Standard and extensible 2015-05-15 14:37:10 -04:00