Search PostgreSQL documentation
PG 18 · Browse by category, or enter a name or keyword
Category index4025
Encryption Options18.8. Encryption Options
PostgreSQL offers encryption at several levels, and provides flexibility in protecting data from disclosure due to database server theft, unscrupulous administrators…Encryption Options
ENDEND END — commit the current transaction
Synopsis END [ WORK | TRANSACTION ] [ AND [ NO ] CHAIN ]END
Enforcing Consistency with Explicit Blocking Locks13.4.2. Enforcing Consistency with Explicit Blocking Locks
When non-serializable writes are possible, to ensure the current validity of a row and protect it against concurrent updates one mu…Enforcing Consistency with Explicit Blocking Locks
Enforcing Consistency with Serializable Transactions13.4.1. Enforcing Consistency with Serializable Transactions
If the Serializable transaction isolation level is used for all writes and for all reads which need a consistent view of the data…Enforcing Consistency with Serializable Transactions
Entering SQL CommandsEntering SQL Commands
In normal operation, psql provides a prompt with the name of the database to which psql is currently connected, followed by the string =>. For example:
$ psql testdb ps…Entering SQL Commands
Enum Support Functions9.10. Enum Support Functions
For enum types (described in Section 8.7), there are several functions that allow cleaner programming without hard-coding particular values of an enum type. Thes…Enum Support Functions
Enumerated Types8.7. Enumerated Types
Enumerated (enum) types are data types that comprise a static, ordered set of values. They are equivalent to the enum types supported in a number of programming languag…Enumerated Types
Enumerated TypesEnumerated Types
The second form of CREATE TYPE creates an enumerated (enum) type, as described in Section 8.7. Enum types take a list of quoted labels, each of which must be less than NAMED…Enumerated Types
EnvironmentEnvironment
PGDATABASEPGHOSTPGPORTPGUSER Default connection parameters PG_COLOR Specifies whether to use color in diagnostic messages. Possible values are always, auto and never.
This utilit…Environment
EnvironmentEnvironment
PGDATABASE If set, the name of the database to create, unless overridden on the command line. PGHOSTPGPORTPGUSER Default connection parameters. PGUSER also determines the name of…Environment
EnvironmentEnvironment
PGHOSTPGPORTPGUSER Default connection parameters PG_COLOR Specifies whether to use color in diagnostic messages. Possible values are always, auto and never.
This utility, like mo…Environment
EnvironmentEnvironment
PGHOSTPGPORTPGUSER Default connection parameters PG_COLOR Specifies whether to use color in diagnostic messages. Possible values are always, auto and never.
This utility, like mo…Environment
EnvironmentEnvironment
PGHOSTPGPORTPGUSER Default connection parameters PG_COLOR Specifies whether to use color in diagnostic messages. Possible values are always, auto and never.
This utility, like mo…Environment
EnvironmentEnvironment
PGDATA # Specifies the directory where the database cluster is to be stored; can be overridden using the -D option. PG_COLOR # Specifies whether to use color in diagnostic messag…Environment
EnvironmentEnvironment
PGCTLTIMEOUT Default limit on the number of seconds to wait when waiting for startup or shutdown to complete. If not set, the default is 60 seconds. PGDATA Default data directory…Environment
EnvironmentEnvironment
PGHOSTPGOPTIONSPGPORTPGUSER Default connection parameters PG_COLOR Specifies whether to use color in diagnostic messages. Possible values are always, auto and never.
This utility…Environment
EnvironmentEnvironment
pg_isready, like most other PostgreSQL utilities, also uses the environment variables supported by libpq (see Section 32.15).
The environment variable PG_COLOR specifies whether …Environment
EnvironmentEnvironment
pg_amcheck, like most other PostgreSQL utilities, also uses the environment variables supported by libpq (see Section 32.15).
The environment variable PG_COLOR specifies whether …Environment
EnvironmentEnvironment
This utility, like most other PostgreSQL utilities, uses the environment variables supported by libpq (see Section 32.15).
The environment variable PG_COLOR specifies whether to …Environment
EnvironmentEnvironment
PGDATA Specifies the directory where the database cluster is stored; can be overridden using the -D option. PG_COLOR Specifies whether to use color in diagnostic messages. Possib…Environment
EnvironmentEnvironment
This utility, like most other PostgreSQL utilities, uses the environment variables supported by libpq (see Section 32.15).
The environment variable PG_COLOR specifies whether to …Environment
EnvironmentEnvironment
PGDATA Default data directory location PG_COLOR Specifies whether to use color in diagnostic messages. Possible values are always, auto and never.Environment
EnvironmentEnvironment
PGDATABASEPGHOSTPGOPTIONSPGPORTPGUSER Default connection parameters. PG_COLOR Specifies whether to use color in diagnostic messages. Possible values are always, auto and never.
T…Environment
EnvironmentEnvironment
This utility, like most other PostgreSQL utilities, uses the environment variables supported by libpq (see Section 32.15).
The environment variable PG_COLOR specifies whether to …Environment
EnvironmentEnvironment
This utility, like most other PostgreSQL utilities, uses the environment variables supported by libpq (see Section 32.15).
The environment variable PG_COLOR specifies whether to …Environment
EnvironmentEnvironment
PG_COLOR Specifies whether to use color in diagnostic messages. Possible values are always, auto and never.Environment
EnvironmentEnvironment
PGHOSTPGOPTIONSPGPORTPGUSER Default connection parameters PG_COLOR Specifies whether to use color in diagnostic messages. Possible values are always, auto and never.
This utility…Environment
EnvironmentEnvironment
When --source-server option is used, pg_rewind also uses the environment variables supported by libpq (see Section 32.15).
The environment variable PG_COLOR specifies whether to …Environment
EnvironmentEnvironment
The environment variable PG_COLOR specifies whether to use color in diagnostic messages. Possible values are always, auto and never.Environment
EnvironmentEnvironment
PGCLIENTENCODING Default character encoding used by clients. (The clients can override this individually.) This value can also be set in the configuration file. PGDATA Default da…Environment
EnvironmentEnvironment
COLUMNS # If \pset columns is zero, controls the width for the wrapped format and width for determining if wide output requires the pager or should be switched to the vertical fo…Environment
EnvironmentEnvironment
PGDATABASEPGHOSTPGPORTPGUSER Default connection parameters PG_COLOR Specifies whether to use color in diagnostic messages. Possible values are always, auto and never.
This utilit…Environment
EnvironmentEnvironment
PGDATABASEPGHOSTPGPORTPGUSER Default connection parameters PG_COLOR Specifies whether to use color in diagnostic messages. Possible values are always, auto and never.
This utilit…Environment
EnvironmentEnvironment
PGHOSTPGPORTPGUSER Default connection parameters.
This utility, like most other PostgreSQL utilities, also uses the environment variables supported by libpq (see Section 32.15).
…Environment
EnvironmentEnvironment
The environment variable PG_COLOR specifies whether to use color in diagnostic messages. Possible values are always, auto and never.Environment
EnvironmentEnvironment
PGDATABASEPGHOSTPGPORTPGUSER # Default connection parameters.
This utility, like most other PostgreSQL utilities, uses the environment variables supported by libpq (see Section 3…Environment
EnvironmentEnvironment
The environment variable PG_COLOR specifies whether to use color in diagnostic messages. Possible values are always, auto and never.Environment
EnvironmentEnvironment
Some environment variables can be used to provide defaults for command-line options:
PGBINOLD The old PostgreSQL executable directory; option -b/--old-bindir. PGBINNEW The new Po…Environment
EnvironmentEnvironment
PGDATA Data directory; see also the -p option. PG_COLOR Specifies whether to use color in diagnostic messages. Possible values are always, auto and never.Environment
EnvironmentEnvironment
PGHOSTPGPORTPGUSER Default connection parameters.
This utility, like most other PostgreSQL utilities, also uses the environment variables supported by libpq (see Section 32.15).
…Environment
More results
Find definitions in the PostgreSQL manuals, reference library, and extension catalogue.
pg17: choose a version ex: extensions only ↑↓ select ↵ open