I believe by now you would have found it out by going through the PostgreSQL documentation. If not you can use PQgetisnull (result, row_no, col_no) Regards, Siva Kumar.K -----Original Message----- From: pgsql-general-owner@xxxxxxxxxxxxxx [mailto:pgsql-general-owner@xxxxxxxxxxxxxx] On Behalf Of Pit M. Sent: Monday, August 15, 2005 3:39 PM To: pgsql-general@xxxxxxxxxxxxxx Subject: libpq.dll - how to check if field is nullable Which function of libpq.dll should one use to determine if a field may contain NULL values ? ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend