Re: COLUMN_SIZE for bytea now equals -4 (09.05 vs 09.06) - Mailing list pgsql-odbc

From Inoue, Hiroshi
Subject Re: COLUMN_SIZE for bytea now equals -4 (09.05 vs 09.06)
Date
Msg-id d19fad9a-7d86-6d55-7741-467165022389@dream.email.ne.jp
Whole thread Raw
In response to COLUMN_SIZE for bytea now equals -4 (09.05 vs 09.06)  (Mateusz Loskot <mateusz@loskot.net>)
Responses Re: COLUMN_SIZE for bytea now equals -4 (09.05 vs 09.06)
List pgsql-odbc

On 2017/03/28 21:37, Mateusz Loskot wrote:
> Hi,
>
> I noticed Ubuntu 12.04 package odbc-postgresql updated
> from 09.05.0400 to 09.06.0200.
>
> Since then, a 'bytea` column info obtained with SQLColumns
> no longer reports COLUMN_SIZE larger than 0, but equal to -4.
> AFAIU, -4 means SQL_NO_TOTAL.
>
> Which change in the release notes corresponds to that?
> https://odbc.postgresql.org/docs/release.html
>
> Is it this one?
>
> 18. Change the default of ByteaAsLongVarBinary from 0 to 1

Yes.
Is it inconvenient to you?

regards,
Hiroshi Inoue



pgsql-odbc by date:

Previous
From: Mateusz Loskot
Date:
Subject: COLUMN_SIZE for bytea now equals -4 (09.05 vs 09.06)
Next
From: Mateusz Loskot
Date:
Subject: Re: COLUMN_SIZE for bytea now equals -4 (09.05 vs 09.06)