pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Keary Suska <hierophant@pcisys.net>
To: Postgres-Interfaces <pgsql-interfaces@postgresql.org>
Subject: Set NULL Using PQexecParams
Date: Thu, 23 Nov 2006 11:11:43 -0700
Message-ID: <C18B326F.8914%hierophant@pcisys.net> (raw)

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"





view thread (2+ messages)  latest in thread

Message-ID: <C18B326F.8914%hierophant@pcisys.net>
Permalink:  ../C18B326F.8914%25hierophant@pcisys.net/
Also on:    postgresql.org/message-id/C18B326F.8914%hierophant@pcisys.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: hierophant@pcisys.net
  Subject: Re: Set NULL Using PQexecParams
  In-Reply-To: <C18B326F.8914%hierophant@pcisys.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox