"Billow Gao" <[EMAIL PROTECTED]> 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