Set NULL Using PQexecParams

From: Keary Suska <hierophant(at)pcisys(dot)net>
To: Postgres-Interfaces <pgsql-interfaces(at)postgresql(dot)org>
Subject: Set NULL Using PQexecParams
Date: 2006-11-23 18:11:43
Message-ID: C18B326F.8914%hierophant@pcisys.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Is it possible to set a NULL value as a parameter value to PQexecParams?
I.e., other than hard-coding it into the command string.

The idea is mostly for UPDATE statements, so a column could be set to null
if it otherwise does not have a valid value.

Thanks,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Volkan YAZICI 2006-11-23 19:01:51 Re: Set NULL Using PQexecParams
Previous Message Sean Davis 2006-11-23 15:39:19 Re: ECPG and COPY FROM STDIN