Re: Segmentation fault while COPY in 7.3

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Joe Conway <mail@joeconway.com>
Cc: Nicolai Tufar <ntufar@apb.com.tr>, pgsql-general@postgresql.org
Date: 2002-12-01T06:50:38Z
Lists: pgsql-hackers, pgsql-general
Ohhh ...

Nicolai, are you running with a client encoding different from server
encoding?

I'm thinking that the real problem is that pg_server_to_client() can
return its input pointer as its result, meaning that CopyAttributeOut
might try to pfree() its input.

			regards, tom lane