aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_expr.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>1999-08-24 20:11:19 +0000
committerTom Lane <tgl@sss.pgh.pa.us>1999-08-24 20:11:19 +0000
commit2b67dc53874029219cf7905ceab520b75204e552 (patch)
tree8764462059b61f52d21d999764339439b935b45b /src/backend/parser/parse_expr.c
parent1b81fd7793285d5651f5070b9b4161e10ade7846 (diff)
downloadpostgresql-2b67dc53874029219cf7905ceab520b75204e552.tar.gz
postgresql-2b67dc53874029219cf7905ceab520b75204e552.zip
Alter AllocSet routines so that requests larger than
ALLOC_BIGCHUNK_LIMIT are always allocated as separate malloc() blocks, and are free()d immediately upon pfree(). Also, if such a chunk is enlarged with repalloc(), translate the operation into a realloc() so as to minimize memory usage. Of course, these large chunks still get freed automatically if the alloc set is reset. I have set ALLOC_BIGCHUNK_LIMIT at 64K for now, but perhaps another size would be better?
Diffstat (limited to 'src/backend/parser/parse_expr.c')
0 files changed, 0 insertions, 0 deletions