Re: BUG #7730: intarray representation of empty arrays

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Elein <elein(at)varlena(dot)com>
Cc: "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #7730: intarray representation of empty arrays
Date: 2014-01-21 21:53:05
Message-ID: 20140121215305.GD29396@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Sun, Jan 19, 2014 at 04:21:42PM -0800, Elein wrote:
> Thanks for looking into this. Finally I'll get to test existing columns filled with a variety of array[0], '{}' and array[0]-array[0] or Null. Sorry it took so long.
>
> What is the target production release?

FYI, it has been committed; I just need testing help:

commit c155f654b4f755b4111bd9adb60559fe22526a10
Author: Bruce Momjian <bruce(at)momjian(dot)us>
Date: Sat Sep 7 11:44:33 2013 -0400

intarray: return empty zero-dimensional array for an empty array

Previously a one-dimensional empty array was returned, but its text
representation matched a zero-dimensional array, and there is no way to
dump/reload a one-dimensional empty array.

BACKWARD INCOMPATIBILITY

Per report from elein

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2014-01-21 22:28:51 Re: Re: [BUGS] BUG #7873: pg_restore --clean tries to drop tables that don't exist
Previous Message Bruce Momjian 2014-01-21 21:51:34 Re: BUG #7730: intarray representation of empty arrays