Re: Segmentation fault while COPY in 7.3

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joe Conway <mail(at)joeconway(dot)com>
Cc: Nicolai Tufar <ntufar(at)apb(dot)com(dot)tr>, pgsql-general(at)postgresql(dot)org
Subject: Re: Segmentation fault while COPY in 7.3
Date: 2002-12-01 06:50:38
Message-ID: 16270.1038725438@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-advocacy pgsql-general pgsql-hackers

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

In response to

Responses

Browse pgsql-advocacy by date

  From Date Subject
Next Message Nicolai Tufar 2002-12-01 07:32:47 Re: Segmentation fault while COPY in 7.3
Previous Message Nicolai Tufar 2002-12-01 06:34:32 Re: Segmentation fault while COPY in 7.3

Browse pgsql-general by date

  From Date Subject
Next Message Nicolai Tufar 2002-12-01 07:32:47 Re: Segmentation fault while COPY in 7.3
Previous Message Nicolai Tufar 2002-12-01 06:34:32 Re: Segmentation fault while COPY in 7.3

Browse pgsql-hackers by date

  From Date Subject
Next Message Joe Conway 2002-12-01 06:50:39 Re: ExecMakeTableFunctionResult vs. pre-evaluated functions
Previous Message Nicolai Tufar 2002-12-01 06:34:32 Re: Segmentation fault while COPY in 7.3