Skip site navigation (1)
Skip section navigation (2)
cardinality()
- From: Andrew Dunstan <andrew(at)dunslane(dot)net>
- To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
- Subject: cardinality()
- Date: Sat, 28 Feb 2009 19:52:05 -0500
- Message-id: <49A9DC35.40304@dunslane.net> <text/plain>
We seem to have acquired a cardinality() function with almost no
discussion, and it has semantics that are a bit surprising to me. I
should have thought cardinality(array) would be the total number of
elements in the array. Instead, it seems it is a synonym for
array_length(array,1). Is that *really* what the standard says?
cheers
andrew
Home |
Main Index |
Thread Index