Search PostgreSQL documentation
PG 18 · Browse by category, or enter a name or keyword
Popular entries9769
enable_seqscanenable_seqscan
Query Tuning
10
Enables or disables the query planner's use of sequential scan plan types. It is impossible to suppress sequential scans entirely, but turning this variable of…Configuration · Query Tuning
enable_sortenable_sort
Query Tuning
10
Enables or disables the query planner's use of explicit sort steps. It is impossible to suppress explicit sorts entirely, but turning this variable off discourage…Configuration · Query Tuning
enable_tidscanenable_tidscan
Query Tuning
10
Enables or disables the query planner's use of TID scan plan types. The default is on.
11
12
13
14
15
16
17
18
19
20
9.0
9.1
9.2
9.3
9.4
9.5
9.6
enable_tidscan…Configuration · Query Tuning
enabled_roles35.25. enabled_roles
The view enabled_roles identifies the currently “enabled roles”. The enabled roles are recursively defined as the current user together with all roles that have been gra…enabled_roles
encdbAlibaba Cloud RDS extension that provides Always Confidential Database features for PostgreSQL.
alibaba-cloud confidential-database encryption
encdb
SecuritySecurity · Extensions
encdb_btreeAlibaba Cloud RDS extension that accelerates ciphertext index queries for Always Confidential Databases.
alibaba-cloud confidential-database encryption index
encdb_btree
SecuritySecurity · Extensions
encodeencode
Binary String Functions And Operators
10
Encode binary data into a textual representation. Supported formats are: base64, hex, escape. escape converts zero bytes and high-bit-set byte…Functions · Binary String Functions And Operators
Encoding Handling8.13.2. Encoding Handling
Care must be taken when dealing with multiple character encodings on the client, server, and in the XML data passed through them. When using the text mode to pass q…Encoding Handling
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
ENDEND
Transactions
10
commit the current transaction
END [ WORK | TRANSACTION ]
END commits the current transaction. All changes made by the transaction become visible to others and are guaran…SQL Commands · Transactions
endpointendpoint extension
events plpgsql postgresql rest-api semantics system-catalog version-control-system widgets
endpoint
FeaturesFeatures · Extensions
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
enum_firstenum_first
Enum Support Functions
10
Returns the first value of the input enum type
enum_first ( anyenum ) Returns the first value of the input enum type
11
12
13
Returns the first value of …Functions · Enum Support Functions
enum_lastenum_last
Enum Support Functions
10
Returns the last value of the input enum type
enum_last ( anyenum ) Returns the last value of the input enum type
11
12
13
Returns the last value of the i…Functions · Enum Support Functions
enum_rangeenum_range
Enum Support Functions
10
Returns all values of the input enum type in an ordered array
enum_range ( anyenum ) Returns all values of the input enum type in an ordered array
enum_r…Functions · 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
More results
Find definitions in the PostgreSQL manuals, reference library, and extension catalogue.
pg17: choose a version ex: extensions only ↑↓ select ↵ open