MCPcopy Create free account
hub / github.com/cloudnative-pg/cloudnative-pg / ContainsTablespaces

Method ContainsTablespaces

api/v1/cluster_funcs.go:1052–1054  ·  view source on GitHub ↗

ContainsTablespaces returns true if for this cluster, we need to create tablespaces

()

Source from the content-addressed store, hash-verified

1050
1051// ContainsTablespaces returns true if for this cluster, we need to create tablespaces
1052func (cluster *Cluster) ContainsTablespaces() bool {
1053 return len(cluster.Spec.Tablespaces) != 0
1054}
1055
1056// GetPostgresUID returns the UID that is being used for the "postgres"
1057// user

Calls

no outgoing calls