On Apr 1, 2013, at 4:59 PM, Robert Haas <robertmh...@gmail.com> wrote:

> I think the only people for whom nothing will break are the people who
> aren't using arrays in the first place.  Anyone who is is likely to
> have dependencies on the way array_lower/upper work today.

Well, what if we add new functions that return 0 for empty arrays, but leave 
the existing ones alone? Perhaps call them array_size(), array_first_index(), 
and array_last_index(). Then nothing has to break, and we can decide 
independently if we want to deprecate the older functions in a future release. 
Or not.

Best,

David



-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to