Re: postgres 9.0 beta libpq empty binary array error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: vshahov(at)alliedtesting(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org, pgagarinov(at)alliedtesting(dot)com, depstein(at)alliedtesting(dot)com, Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
Subject: Re: postgres 9.0 beta libpq empty binary array error
Date: 2010-08-09 14:56:15
Message-ID: 29732.1281365775@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

<vshahov(at)alliedtesting(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2010-08-09 15:32:55 Re: Assertion failure with assignment to array elem
Previous Message vshahov 2010-08-09 14:43:12 postgres 9.0 beta libpq empty binary array error