View Single Post

   
  #3 (permalink)  
Old 04-15-2008, 10:35 PM
Tom Lane
 
Posts: n/a
Default Re: How to write a c-function to return multiple bytea rows

"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

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Reply With Quote