Re: BUG #8399: inconsistent input of multidimensional arrays

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: BUG #8399: inconsistent input of multidimensional arrays
Дата
Msg-id 20140201155043.GI31141@momjian.us
обсуждение исходный текст
Ответ на Re: BUG #8399: inconsistent input of multidimensional arrays  (Joe Conway <mail@joeconway.com>)
Список pgsql-bugs
On Fri, Jan 31, 2014 at 09:49:56PM -0800, Joe Conway wrote:
> -----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.

Thanks for the review.  I went with zero as you suggested.  Applied
patch attached.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + Everyone has their own god. +

Вложения

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: BUG #8399: inconsistent input of multidimensional arrays
Следующее
От: "Paul Watson"
Дата:
Сообщение: