count_nulls
Count the number of null arguments
count_nulls · Count the number of null arguments
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 101321 | count_nulls | count_nulls | 0.9.6 | FUNC | BSD-2-Clause | SQL |
Usage
Sources:
- Official upstream README
- Official extension control file (count_nulls.control)
- Official extension SQL (count_nulls–0.9.0–0.9.2.sql)
count_nulls — Be sure that you have pg_config installed and in your path. If you used a package management system such as RPM to install PostgreSQL, be sure that the -devel package is also installed. If necessary tell the build process where to find it:. Use it when SQL needs these specialized functions or aggregates. Use the pinned upstream revision linked above as the API boundary and test it on the target PostgreSQL build.
Core Workflow
Install the extension in the intended database, run the smallest upstream example above when available, and verify the installed version and returned values before integrating it into application SQL.
Important Objects
not_null_count(argument json)is an extension function and returnsint.not_null_count(argument jsonb)is an extension function and returnsint.not_null_count(VARIADIC argument anyarray)is an extension function and returnsint.not_null_count_trigger()is an extension function and returnstrigger.null_count(argument json)is an extension function and returnsint.null_count(argument jsonb)is an extension function and returnsint.null_count(VARIADIC argument anyarray)is an extension function and returnsint.null_count_trigger()is an extension function and returnstrigger.
Requirements and Caveats
- The reviewed control file declares default version
0.9.6. - The control file marks the extension as non-relocatable.
- Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.