Skip to content
Snippets Groups Projects
Commit 3a18f01b authored by Tom Lane's avatar Tom Lane
Browse files

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.
parent 2b7ec402
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment