From: Joe Conway <mail@joeconway.com>
To: Bruce Momjian <bruce@momjian.us>
To: borz_off@cs.msu.su
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #8399: inconsistent input of multidimensional arrays
Date: Fri, 31 Jan 2014 21:49:56 -0800
Message-ID: <52EC8B04.8050206@joeconway.com> (raw)
In-Reply-To: <52EC51F5.1020701@joeconway.com>
References: <E1VEETa-0007KM-8O@wrigleys.postgresql.org>
<20140201011125.GG19957@momjian.us>
<52EC51F5.1020701@joeconway.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 01/31/2014 05:46 PM, Joe Conway wrote:
> On 01/31/2014 05:11 PM, Bruce Momjian wrote:
>> Joe, does this sound right?
> Let me take a closer look...
I had forgotten how convoluted the array code is ;-)
Yes, it looks correct to me, although I think I would initialize
nelems_last[i] to 0 rather than -1.
Joe
- --
Joe Conway
credativ LLC: http://www.credativ.us
Linux, PostgreSQL, and general Open Source
Training, Service, Consulting, & 24x7 Support
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQIcBAEBAgAGBQJS7IsEAAoJEDfy90M199hlH4YP/1ERkU0XEnZc2FWVANg8NLKk
kW3rIa+Q8UUHPVPuhD1GXSXsxBBs5XwJz9rWaTB05iO678eft1FvT2IHciCMKX2m
83FFkXQEEVLr26py+zBnuOVbnmpQ2ubmbr4ZL2fG7KYRzJkPGw4YNmXVWXgyOmOQ
gltB3G1q2bNvovIz8OAXkFxkDOjdxfWdbRpoT6pYTGt/wIa5AfWLYxU5v30WZXSC
rr0b5rJtn6y4+L2ZsU8HptMVOklbZOkD7+Oee7h5UMB2MazBFMKksaCuBuPGXqJj
2MKtb47xccWWY1mNVF9gdPUSIXtYDDtNjlsBnbP5bWO09UOEuSmoBZd4qG4XKI4b
3dLRskgHZfT5gZVEDaF+vS/7OHI0nGPKhgfT1kNGJZpSpbo5M7lRdcX+lCO4mTkz
7JPZoWmsUqAc8n0eEX/UuwTJL/mzFzowJ0YxaVnqRooIhXwDnQjYCydSuA8mtpTP
+qY4IV/4u6yK7c5tM8cOX9ZDkriXvF6yypeIvqKLzHwnu4/6D0RHIusY0fFC+GGY
1jBWHjLYywl59ThauRqWhONiqN1F0roOK0nbdwxe3mw8n+hu/wwmCpyWlPDxUaEa
CFXEN5b6uLXDM3Dy0RzvyFn2o0/c9dlleZWp7L8cV+WcU7iULo0LNMli90I+FK9z
Cho3QAatYJ6QovloFps/
=XbLY
-----END PGP SIGNATURE-----
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: mail@joeconway.com, bruce@momjian.us, borz_off@cs.msu.su
Subject: Re: BUG #8399: inconsistent input of multidimensional arrays
In-Reply-To: <52EC8B04.8050206@joeconway.com>
References: <E1VEETa-0007KM-8O@wrigleys.postgresql.org> <20140201011125.GG19957@momjian.us> <52EC51F5.1020701@joeconway.com> <52EC8B04.8050206@joeconway.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox