Re: ArrayIndexOutOfBoundsException from ByteConverter.int8when resolving generated keys - Mailing list pgsql-jdbc

From Vladimir Sitnikov
Subject Re: ArrayIndexOutOfBoundsException from ByteConverter.int8when resolving generated keys
Date
Msg-id CAB=Je-HhhqRJBenYjj3x=RpO8Cipg-nyFZXy1OmzF3W4vg4GQg@mail.gmail.com
Whole thread Raw
In response to Re: [JDBC] ArrayIndexOutOfBoundsException from ByteConverter.int8when resolving generated keys  (Dave Cramer <pg@fastcrypt.com>)
Responses Re: ArrayIndexOutOfBoundsException from ByteConverter.int8when resolving generated keys  (Vladimir Sitnikov <sitnikov.vladimir@gmail.com>)
List pgsql-jdbc
Erko>2) There was a similar problem discussed in 2012, which ended with an explanation: https://www.postgresql.org/message-id/alpine.BSO.2.00.1211081338240.29600%40leary.csoft.net

I though "text-binary" flip might cause issue here. bigserial is an alias for int8, and int8 binary representation is 8 bytes always.

Erko, if you file a pull request https://github.com/pgjdbc/pgjdbc with a test case, then it would get executed and we'll know if the issue is still there and/or which DB versions are affected.

Vladimir

pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: [JDBC] ArrayIndexOutOfBoundsException from ByteConverter.int8when resolving generated keys
Next
From: Vladimir Sitnikov
Date:
Subject: Re: [JDBC] ArrayIndexOutOfBoundsException from ByteConverter.int8when resolving generated keys