Re: How to properly perform this?

From: Igor Korot <ikorot01(at)gmail(dot)com>
To: Nick Gorham <nick(at)lurcherlink(dot)org>
Cc: Dave Cramer <davecramer(at)postgres(dot)rocks>, PostgreSQL ODBC list <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: How to properly perform this?
Date: 2026-03-08 07:53:44
Message-ID: CA+FnnTw5TA7wQBAayk-L_Oo783rZTrujXn_Lw9z11NhLBtmbCg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hi, Nick,

On Sat, Mar 7, 2026 at 11:41 PM Nick Gorham <nick(at)lurcherlink(dot)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

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Nick Gorham 2026-03-09 09:03:13 Re: How to properly perform this?
Previous Message Nick Gorham 2026-03-08 05:41:40 Re: How to properly perform this?