Re: ESQL/C no indicator variables ./. error -213 - Mailing list pgsql-general

From Tom Lane
Subject Re: ESQL/C no indicator variables ./. error -213
Date
Msg-id 1550181.1592493662@sss.pgh.pa.us
Whole thread Raw
In response to Re: ESQL/C no indicator variables ./. error -213  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
I wrote:
> Hmm.  Trying this here, I get
> ...

Oh, scratch that, I'd failed to duplicate the test case.  (I had an
empty string, not NULL, as the value of the tstchar25 column.)

I concur with Laurenz's diagnosis that you need to use an indicator
variable if you want to retrieve a NULL.

            regards, tom lane



pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: ESQL/C no indicator variables ./. error -213
Next
From: Michel Pelletier
Date:
Subject: Re: Hiding a GUC from SQL