constants

package
v1.22.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package constants provides the needed constants in the postgres package

Index

Constants

View Source
const (
	// PostgresqlCustomConfigurationFile is the name of the file containing
	// the main PostgreSQL configuration parameters directly managed by the
	// operator
	PostgresqlCustomConfigurationFile = "custom.conf"

	// PostgresqlOverrideConfigurationFile is the name of the file containing
	// the PostgreSQL configuration parameters that the operator need to
	// control to coordinate the activities in the cluster (normally they
	// contain HA and DR settings)
	PostgresqlOverrideConfigurationFile = "override.conf"

	// PostgresqlHBARulesFile is the name of the file which contains
	// the host-based access rules
	PostgresqlHBARulesFile = "pg_hba.conf"

	// PostgresqlIdentFile is the name of the file which contains
	// the user name maps
	PostgresqlIdentFile = "pg_ident.conf"

	// BackupLabelFile holds the content of BackupLabelFile. Used during a restore from a hot backup.
	BackupLabelFile = "backup_label"

	// TablespaceMapFile holds the content of TablespaceMapFile. Used during a restore from a hot backup.
	TablespaceMapFile = "tablespace_map"

	// InitdbName is the name of the command to initialize a PostgreSQL database
	InitdbName = "initdb"

	// Startup is the name of a file that is created once during the first reconcile of an instance
	Startup = "cnpg_initialized"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL