Re: How to write a c-function to return multiple bytea rows - Mailing list pgsql-hackers

From Tom Lane
Subject Re: How to write a c-function to return multiple bytea rows
Date
Msg-id 2784.1196315418@sss.pgh.pa.us
Whole thread Raw
In response to How to write a c-function to return multiple bytea rows  ("Billow Gao" <billowgy@gmail.com>)
List pgsql-hackers
"Billow Gao" <billowgy@gmail.com> writes:
> Also, when I compile it, I had warning:
> test.c:121: warning: assignment makes pointer from integer without a cast
> The line is:
> tuple = heap_form_tuple( tupdesc, &dtvalues, &isNull );

That part is because you didn't #include access/heapam.h, where
heap_form_tuple is declared.  If you didn't get a warning about it
not being declared, you do not have warnings turned up high enough.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: jaguar is up
Next
From: Tom Lane
Date:
Subject: Re: [PATCHES] Re: [GENERAL] plperl and regexps with accented characters - incompatible?