Skip to content

Extension and Environment Detection

pghf.has_spock()

The central "is this server part of a pgEdge Spock cluster" check. Every Spock-specific check function (category 12) calls this at the very start of its own body, and reports itself as skipped if it returns false — there's no separate, enclosing mechanism that gates an entire category of checks as a group; each one checks for itself.

Parameters: none.

Returns: boolean — true if the Spock extension is installed on this server.

Continue to Catalog: Namespaces and Categories.