aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test/expected/preproc-array_of_struct.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-08-12 20:18:06 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-08-12 20:18:06 +0000
commit70868c012f091169b21f841de99aee71b74570ef (patch)
tree533d03aa1f89d24472949651fe34ca763c7dea7d /src/interfaces/ecpg/test/expected/preproc-array_of_struct.c
parentae65ca312f4dab71886b747fe810dc27548ca76d (diff)
downloadpostgresql-70868c012f091169b21f841de99aee71b74570ef.tar.gz
postgresql-70868c012f091169b21f841de99aee71b74570ef.zip
Increase the initial size of StringInfo buffers to 1024 bytes (from 256);
likewise increase the initial size of the scanner's literal buffer to 1024 (from 128). Instrumentation of the regression tests suggests that this saves a useful amount of repalloc() traffic --- the number of calls occurring during one set of tests drops from about 6900 to about 3900. The old sizes were chosen in the late 90's with an eye to machines much smaller than are common today.
Diffstat (limited to 'src/interfaces/ecpg/test/expected/preproc-array_of_struct.c')
0 files changed, 0 insertions, 0 deletions