Re: postgres 9.0 beta libpq empty binary array error - Mailing list pgsql-bugs

From Tom Lane
Subject Re: postgres 9.0 beta libpq empty binary array error
Date
Msg-id 29732.1281365775@sss.pgh.pa.us
Whole thread Raw
In response to postgres 9.0 beta libpq empty binary array error  (<vshahov@alliedtesting.com>)
Responses Re: postgres 9.0 beta libpq empty binary array error
List pgsql-bugs
<vshahov@alliedtesting.com> writes:
> I have the problem:
> the code sending empty binary array works on 8.3 and 8.4
> but stopped working on postgres 9.0 beta2/3/4, it fails with '22003','integer out of range error'.

I think you are right --- this rejects dim[i] == 0, but it should not.

            regards, tom lane

pgsql-bugs by date:

Previous
From:
Date:
Subject: postgres 9.0 beta libpq empty binary array error
Next
From: Tom Lane
Date:
Subject: Re: Assertion failure with assignment to array elem