Provide pg_amcheck with an --install-missing option
authorAndrew Dunstan <andrew@dunslane.net>
Sat, 24 Apr 2021 14:13:07 +0000 (10:13 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Sat, 24 Apr 2021 14:13:07 +0000 (10:13 -0400)
commitb859d94c638968ccbb517ac7e151bdd94ed7c16a
tree6f2b0c5d482919addd0d4a2c1fb019ba1533c01b
parentaa271209f6d995488fc5cba9731415f974823990
Provide pg_amcheck with an --install-missing option

This will install amcheck in the database if not present. The default
schema is for the extension is pg_catalog, but this can be overridden by
providing a value for the option.

Mark Dilger, slightly editorialized by me.

(rather divergent)
Discussion: https://postgr.es/m/bdc0f7c2-09e3-ee57-8471-569dfb509234@dunslane.net
doc/src/sgml/ref/pg_amcheck.sgml
src/bin/pg_amcheck/pg_amcheck.c