Re: [BUGS] casting strings to multidimensional arrays yields strange results - Mailing list pgsql-patches

From Tom Lane
Subject Re: [BUGS] casting strings to multidimensional arrays yields strange results
Date
Msg-id 3424.1091641454@sss.pgh.pa.us
Whole thread Raw
In response to Re: [BUGS] casting strings to multidimensional arrays yields strange  (Joe Conway <mail@joeconway.com>)
List pgsql-patches
Joe Conway <mail@joeconway.com> writes:
> Negative lower bound indicies now work also, and array_out will always
> output explicit dimensions for an array with any dimension having a
> lower bound of other than one.

Seems reasonable to me.

> Any thoughts on whether or not to apply this to 7.4?

I would say not; it's a sufficiently large change that it will doubtless
break a few people's applications.  It's better to do such things at
major version revs.  People don't expect to have to do application
compatibility testing on bug-fix updates.  Also, the base bug (lack of
dimension info from array_out) has existed long enough that I don't
think there is great urgency about getting the fix into the field...

            regards, tom lane

pgsql-patches by date:

Previous
From: Joe Conway
Date:
Subject: Re: [BUGS] casting strings to multidimensional arrays yields strange
Next
From: Tom Lane
Date:
Subject: Re: [BUGS] casting strings to multidimensional arrays yields strange results