Search PostgreSQL documentation
PG 18 · Browse by category, or enter a name or keyword
Popular entries9769
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
Environment Variables17.5.2. Environment Variables
If you installed into /usr/local/pgsql or some other location that is not searched for programs by default, you should add /usr/local/pgsql/bin (or whatever you…Environment Variables
Environment Variables32.15. Environment Variables
The following environment variables can be used to select default connection parameter values, which will be used by PQconnectdb, PQsetdbLogin and PQsetdb if no …Environment Variables
Environment Variables44.11. Environment Variables
Some of the environment variables that are accepted by the Python interpreter can also be used to affect PL/Python behavior. They would need to be set in the env…Environment Variables
Environment Variables31.4.1. Environment Variables
Data directories are named according to the test filename, and will be retained if a test fails. If the environment variable PG_TEST_NOCLEAN is set, data direct…Environment Variables
envvarFetch the value of an environment variable
pg_envvar
UtilitiesUtilities · Extensions
eqlEncrypt Query Language provides PostgreSQL types, functions, operators, and index support for searchable encrypted data.
dbdev encryption searchable-encryption sql
eql
SecuritySecurity · Extensions
erferf
Mathematical Functions And Operators
16
Error function
erf ( double precision ) → double precision Error function
17
18
19
20Functions · Mathematical Functions And Operators
erfcerfc
Mathematical Functions And Operators
16
Complementary error function (1 - erf(x), without loss of precision for large inputs)
erfc ( double precision ) → double precision Complementary …Functions · Mathematical Functions And Operators
erlang_cnodeErlang C-node bridge for connecting PostgreSQL sessions to Erlang or Elixir nodes.
erlang elixir c-node rpc
pg-erl
Procedural languagesProcedural languages · Extensions
errno Values of pgtypeslib34.6.7. errno Values of pgtypeslib
PGTYPES_NUM_BAD_NUMERIC # An argument should contain a numeric variable (or point to a numeric variable) but in fact its in-memory representation was inval…errno Values of pgtypeslib
Error and Notice Message Fields54.8. Error and Notice Message Fields
This section describes the fields that can appear in ErrorResponse and NoticeResponse messages. Each field type has a single-byte identification token. …Error and Notice Message Fields
Error Handling34.8. Error Handling
This section describes how you can handle exceptional conditions and warnings in an embedded SQL program. There are two nonexclusive facilities for this.
Callbacks can b…Error Handling
Error Handling32.5.1.3. Error Handling
From the client's perspective, after PQresultStatus returns PGRES_FATAL_ERROR, the pipeline is flagged as aborted. PQresultStatus will report a PGRES_PIPELINE_ABORTE…Error Handling
Error Handling19.14. Error Handling
exit_on_error (boolean) # If on, any error will terminate the current session. By default, this is set to off, so that only FATAL errors will terminate the session. res…Error Handling
Error Handling in PL/Tcl42.8. Error Handling in PL/Tcl
Tcl code within or called from a PL/Tcl function can raise an error, either by executing some invalid operation or by generating an error using the Tcl error c…Error Handling in PL/Tcl
Error Message Differences31.2.1. Error Message Differences
Some of the regression tests involve intentional invalid input values. Error messages can come from either the PostgreSQL code or from the host platform sys…Error Message Differences
Error Message Style Guide55.3. Error Message Style Guide
This style guide is offered in the hope of maintaining a consistent, user-friendly style throughout all the messages generated by PostgreSQL.
What Goes Where …Error Message Style Guide
Error Reporting and Logging19.8. Error Reporting and LoggingError Reporting and Logging
error_on_nullerror_on_null
Comparison Functions And Operators
19
Checks if the input is the null value, generating an error if so; otherwise, returns the input.
error_on_null ( anyelement ) → anyelement …Functions · Comparison Functions And Operators
Errors and Messages41.9. Errors and MessagesErrors and Messages
escape_string_warningescape_string_warning
Version and Platform Compatibility
10
When on, a warning is issued if a backslash (\) appears in an ordinary string literal ('...' syntax) and standard_conforming_strin…Configuration · Version and Platform Compatibility
Escaping Strings for Inclusion in SQL Commands32.3.4. Escaping Strings for Inclusion in SQL Commands
PQescapeLiteral
char *PQescapeLiteral(PGconn *conn, const char *str, size_t length); PQescapeLiteral escapes a string for use within an…Escaping Strings for Inclusion in SQL Commands
etcd_fdwForeign data wrapper for etcd
pgrx
etcd_fdw
Foreign data wrappersForeign data wrappers · Extensions
eva_pgEVA ICS pgrx extension for the EVA industrial IoT platform.
industrial-iot pgrx
eva_pg
Functions and aggregatesFunctions and aggregates · Extensions
eventpub/sub data change event tracking system
events plpgsql postgresql rest-api semantics system-catalog version-control-system widgets
event
FeaturesFeatures · Extensions
Event Callback Procedure32.14.2. Event Callback Procedure
PGEventProc # PGEventProc is a typedef for a pointer to an event procedure, that is, the user callback function that receives events from libpq. The signatu…Event Callback Procedure
Event Example32.14.4. Event Example
Here is a skeleton example of managing private data associated with libpq connections and results.
/* required header for libpq events (note: includes libpq-fe.h) */ #…Event Example
More results
Find definitions in the PostgreSQL manuals, reference library, and extension catalogue.
pg17: choose a version ex: extensions only ↑↓ select ↵ open