public inbox for pgsql-odbc@postgresql.org  
help / color / mirror / Atom feed
From: Igor Korot <ikorot01@gmail.com>
To: Nick Gorham <nick@lurcherlink.org>
Cc: Dave Cramer <davecramer@postgres.rocks>
Cc: PostgreSQL ODBC list <pgsql-odbc@postgresql.org>
Subject: Re: How to properly perform this?
Date: Sun, 8 Mar 2026 01:53:44 -0600
Message-ID: <CA+FnnTw5TA7wQBAayk-L_Oo783rZTrujXn_Lw9z11NhLBtmbCg@mail.gmail.com> (raw)
In-Reply-To: <8f0a1f28-d1e4-4e3d-859f-50c763978092@lurcherlink.org>
References: <CA+FnnTx+VJi6o9Y8HHUxb89REdNOxBtz1AVkbvM=TGMF_xa=oA@mail.gmail.com>
	<CADK3HHJLCxp+5Q48CatYqg02hBJs0qs8DS=x=Pg5Nx64rD1F7g@mail.gmail.com>
	<CA+FnnTwB1GJX-ZnO+oAJw+z+rmDVcfK7Huprj7oOj3V88Y2ZUA@mail.gmail.com>
	<CA+FnnTxF+VThVXgobZtu6-jfCc6zfqh1tC4dPtWegfov2CFW3w@mail.gmail.com>
	<8f0a1f28-d1e4-4e3d-859f-50c763978092@lurcherlink.org>

Hi, Nick,

On Sat, Mar 7, 2026 at 11:41 PM Nick Gorham <nick@lurcherlink.org> wrote:
>
> If I understand the question:
>
>      if( ind[3] == SQL_NULL_DATA )
>
> Assuming ind is an array of SQLLEN (ie signed).

If I understand the spec correctly, that check shouldn't be necessary
as the very first call to SQLGetData() should just return SQL_NO_DATA
from the NULL column.

But in the meantime I added that check.

Thank you.

>
> --
> Nick Gorham





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-odbc@postgresql.org
  Cc: ikorot01@gmail.com, nick@lurcherlink.org, davecramer@postgres.rocks
  Subject: Re: How to properly perform this?
  In-Reply-To: <CA+FnnTw5TA7wQBAayk-L_Oo783rZTrujXn_Lw9z11NhLBtmbCg@mail.gmail.com>

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

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