cardinality() - Mailing list pgsql-hackers

From Andrew Dunstan
Subject cardinality()
Date
Msg-id 49A9DC35.40304@dunslane.net
Whole thread Raw
Responses Re: cardinality()
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Synchronous replication & Hot standby patches
Next
From: Robert Haas
Date:
Subject: Re: add_path optimization