diff options
author | Andres Freund <andres@anarazel.de> | 2017-10-11 16:26:35 -0700 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2017-10-11 16:26:35 -0700 |
commit | f2dec34e19d3969ddd616e671fe9a7b968bec812 (patch) | |
tree | 677dfe57e10662138334e5b251b8e7cfb220abd7 /src/backend/commands/async.c | |
parent | 1de09ad8eb1fa673ee7899d6dfbb2b49ba204818 (diff) | |
download | postgresql-f2dec34e19d3969ddd616e671fe9a7b968bec812.tar.gz postgresql-f2dec34e19d3969ddd616e671fe9a7b968bec812.zip |
Use one stringbuffer for all rows printed in printtup.c.
This avoids newly allocating, and then possibly growing, the
stringbuffer for every row. For wide rows this can substantially
reduce memory allocator overhead, at the price of not immediately
reducing memory usage after outputting an especially wide row.
Author: Andres Freund
Discussion: https://postgr.es/m/20170914063418.sckdzgjfrsbekae4@alap3.anarazel.de
Diffstat (limited to 'src/backend/commands/async.c')
0 files changed, 0 insertions, 0 deletions