pgsql-server/src/backend/commands copy.c - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql-server/src/backend/commands copy.c
Date
Msg-id 20021201181422.8986E475ADE@postgresql.org
Whole thread Raw
List pgsql-committers
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@postgresql.org    02/12/01 13:14:22

Modified files:
    src/backend/commands: copy.c

Log message:
    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.


pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql-server/src/backend/commands Tag: REL7_3_ ...
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql-server/src/bin/pg_dump pg_dump.c