aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeFunctionscan.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2002-12-01 18:14:22 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2002-12-01 18:14:22 +0000
commit3a18f01b7aa5f1358156118b58d753c879a60391 (patch)
treeed146c6cb17ff6cfe91dc5b807eda887abb288d6 /src/backend/executor/nodeFunctionscan.c
parent2b7ec402c41f6112087b1bf2171872d58151cd45 (diff)
downloadpostgresql-3a18f01b7aa5f1358156118b58d753c879a60391.tar.gz
postgresql-3a18f01b7aa5f1358156118b58d753c879a60391.zip
Run COPY OUT in a temporary memory context that's reset once per row,
and eliminate its manual pfree() calls. This solves the encoding-conversion bug recently reported, and should be faster and more robust than the original coding anyway. For example, we are no longer at risk if datatype output routines leak memory or choose to return a constant string.
Diffstat (limited to 'src/backend/executor/nodeFunctionscan.c')
0 files changed, 0 insertions, 0 deletions