I wonder whether the Postgres community has got the best examplesof cardinality check and associated functions.
Regards,
David