Re: How to write a c-function to return multiple bytea rows

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: billowgao(at)gmail(dot)com
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: How to write a c-function to return multiple bytea rows
Date: 2007-11-29 05:50:18
Message-ID: 2784.1196315418@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Billow Gao" <billowgy(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-11-29 06:09:50 Re: Re: [HACKERS] [GENERAL] plperl and regexps with accented characters - incompatible?
Previous Message Tom Lane 2007-11-29 05:40:57 Re: jaguar is up