From: wespvp@syntegra.com
To: pgsql-interfaces@postgresql.org
Subject: NULLs in ecpg
Date: Fri, 16 Jul 2004 10:50:43 -0500
Message-ID: <BD1D6383.F3B0%wespvp@syntegra.com> (raw)
In-Reply-To: <6.0.3.0.2.20040701171811.02921908@nis-pop.lanl.gov>
I couldn't find this in the archives... In an ecpg program, given the
statement (taken from the manual):
EXEC SQL INSERT INTO sometable VALUES (:v1, ¹foo¹, :v2);
Is there a way to create the record where ':v1' is NULL - as with indicators
in a FETCH? Or, do I have to generate different SQL statements in the C
program?
Wes
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: wespvp@syntegra.com
Subject: Re: NULLs in ecpg
In-Reply-To: <BD1D6383.F3B0%wespvp@syntegra.com>
* 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