Hi, ALL, Documentation for PQprepare states: [quote] As with PQexec, the result is normally a PGresult object whose contents indicate server-side success or failure. A null result indicates out-of-memory or inability to send the command at all. Use PQerrorMessage to get more information about such errors. [/quote] But this function is not the same as PQexec(). So what does it return if it succeeds? Thank you.