MCPcopy Create free account
hub / github.com/zalando/postgres-operator / executeCreateExtension

Method executeCreateExtension

pkg/cluster/database.go:588–591  ·  view source on GitHub ↗

executeCreateExtension creates new extension in the given schema. The caller is responsible for opening and closing the database connection.

(extName, schemaName string)

Source from the content-addressed store, hash-verified

586// executeCreateExtension creates new extension in the given schema.
587// The caller is responsible for opening and closing the database connection.
588func (c *Cluster) executeCreateExtension(extName, schemaName string) error {
589 return c.execCreateOrAlterExtension(extName, schemaName, createExtensionSQL,
590 "creating extension", "create extension")
591}
592
593// executeAlterExtension changes the schema of the given extension.
594// The caller is responsible for opening and closing the database connection.

Callers 1

syncExtensionsMethod · 0.95

Calls 1

Tested by

no test coverage detected