Josh Berkus <j...@agliodbs.com> writes:
> Tom,
>> change cardinality() for multi-dim arrays?
>> 
>> Drop; there's no consensus that this should be changed

> Andrew pinged me on this. While there's no consensus that it should be 
> changed, there's no consensus it shouldn't, either.  And once we release 
> it, we've set the way it operates in cement, so I'd like to get a 
> consensus one way or the other.

Yeah.  I would like to change it; Peter evidently thinks it's good
as-is.  Where do we go from here?

> For my part, I'd like to know what things other than arrays 
> <collection_expression> in the standard applies to.  I think the most 
> sensible course is to make cardinality(array[]) behave consistently with 
> cardinality(other_stuff) when we get around to implementing it.

There is no equivalent of multi-dimensional arrays in other kinds of
collections, so I'm not seeing that there is any good guide there.

                        regards, tom lane

-- 
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