pgsql-server/src/backend/commands copy.c

Поиск
Список
Период
Сортировка
Искать

pgsql-server/src/backend/commands copy.c

От:
tgl@postgresql.org (Tom Lane)
Дата:
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.

FAQ