Change cardinality() into a C-code function, instead of a SQL-language

Tom Lane <tgl@sss.pgh.pa.us>

Commit: f2110a757d0bdca766fa1b8562c7dcb1a53fd422
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2009-04-05T22:28:59Z
Releases: 8.4.0
Change cardinality() into a C-code function, instead of a SQL-language
alias for array_length(v,1).  The efficiency gain here is doubtless
negligible --- what I'm interested in is making sure that if we have
second thoughts about the definition, we will not have to force a
post-beta initdb to change the implementation.

Files