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: 2009-03-01 00:52:05
Message-ID: 49A9DC35.40304@dunslane.net (view raw or flat)
Thread:
Lists: 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

Responses

pgsql-hackers by date

Next:From: Robert HaasDate: 2009-03-01 04:22:45
Subject: Re: add_path optimization
Previous:From: Andrew DunstanDate: 2009-02-28 20:38:17
Subject: Re: Synchronous replication & Hot standby patches

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group