Re: Segmentation fault while COPY in 7.3 - Mailing list pgsql-general

From Tom Lane
Subject Re: Segmentation fault while COPY in 7.3
Date
Msg-id 15558.1038718646@sss.pgh.pa.us
Whole thread Raw
In response to Segmentation fault while COPY in 7.3  ("Nicolai Tufar" <ntufar@apb.com.tr>)
List pgsql-general
"Nicolai Tufar" <ntufar@apb.com.tr> writes:
> (gdb) bt
> #0  0x081697bf in pfree (pointer=0x828a7b0) at mcxt.c:480
> #1  0x080b37be in CopyTo (rel=0x402be088, attnumlist=0x828a3f8, binary=0
> '\0', oids=0 '\0',
>     fp=0x0, delim=0x81c2a57 "\t", null_print=0x81b2c22 "\\N") at copy.c:671
> #2  0x080b32f6 in DoCopy (stmt=0x827b398) at copy.c:491

Hm.  Offhand it would seem that somebody's output function is returning
a non-palloc'd string.  What are the datatypes in that table, exactly?

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: returning CHAR from C function
Next
From: "Nicolai Tufar"
Date:
Subject: Re: Segmentation fault while COPY in 7.3