Group: pgsql.hackers


Subject: How to write a c-function to return multiple bytea rows
From: tgl@sss.pgh.pa.us (Tom Lane)
Date: 11/29/2007 12:50:18 AM
"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