Search PostgreSQL documentation
PG 18 · Browse by category, or enter a name or keyword
Popular entries12242
notify_nowPostgreSQL Extension to send multiple responses from one SQL Query using LISTEN/NOFITY API
async response dynamic result set json listen multi result notify
notify_now
Features
npmSchema and tables for tracking npm package metadata and daily download counts.
npm
Features
nr_modelAI-powered Autonomous Data System
aixdb database
nr_model
AI and vectors
ntextJapanese normalized-comparison text type for UTF-8 strings
ntext
Data types
NULL“Constraint” The NULL “constraint” (actually a non-constraint) is a PostgreSQL extension to the SQL standard that is included for compatibility with some other database systems (and for symm…
NULL HandlingAs is standard in SQL, all functions return NULL, if any of the arguments are NULL. This may create security risks on careless usage.
NULL “Constraint”The NULL “constraint” (actually a non-constraint) is a PostgreSQL extension to the SQL standard that is included for compatibility with some other database systems (and for symmetry with the…
Null, NoneIf an SQL null value is passed to a function, the argument value will appear as None in Python. For example, the function definition of pymax shown in Section 44.1 will return the wrong answ…
NULLIF# NULLIF(value1, value2) The NULLIF function returns a null value if value1 equals value2; otherwise it returns value1. This can be used to perform the inverse operation of the COALESCE exam…
NULLIF(value1, value2)
The NULLIF function returns a null value if value1 equals value2; otherwise it returns value1. This can be used to perform the inverse operation of the COALESCE example give…
numberVariable-width integer data type for PostgreSQL
datatype integer
postgresql-number
Data types
numeraldatatypes extension
numeral
Data types
Numeric Constantsare accepted in these general forms:
digits digits.[digits][e[+-]digits] [digits].digits[e[+-]digits] digitse[+-]digits
where digits is one or more decimal digits (0 through 9). At least one…
Numeric Typesconsist of two-, four-, and eight-byte integers, four- and eight-byte floating-point numbers, and selectable-precision decimals. Table 8.2 lists the available types.
Table 8.2. Numeric Types…
numeric, decimalThe handling of the numeric and decimal types is similar to the interval type: It requires defining a pointer, allocating some memory space on the heap, and accessing the variable using the …
numeric_domainsCustom numeric domains for PostgreSQL
domain latitude-longitude numeric validation
numeric_domains
Data types
numhstoreAdds inthstore and floathstore numeric hstore types and helpers
pg_numhstore
Data types
numpgsqlArray and numerical computing library for PostgreSQL
array math numeric random statistics
numpgsql
Functions and aggregates
numpy_plpython2utransform between numpy and plpython2u
numpy-arrays plpython postgresql-extension
numpy_plpython2u
Procedural languages
numpy_plpython3utransform between numpy and plpython3u
numpy-arrays plpython postgresql-extension
numpy_plpython3u
Procedural languages
numpy_plpythonutransform between numpy and plpythonu
numpy-arrays plpython postgresql-extension
numpy_plpythonu
Procedural languages
nvlfuncOracle-compatible NVL function
compatibility oracle
nvlfunc
Compatibility
oai_fdwOAI-PMH foreign data wrapper for PostgreSQL
fdw metadata oai-pmh
oai_fdw
Foreign data wrappers
OAuth Authorization/AuthenticationOAuth 2.0 is an industry-standard framework, defined in RFC 6749, to enable third-party applications to obtain limited access to a protected resource. OAuth client support has to be enabled …
OAuth Supportlibpq implements support for the OAuth v2 Device Authorization client flow, documented in RFC 8628, as an optional module. See the installation documentation for information on how to enable…
OAuth Validator CallbacksOAuth validator modules implement their functionality by defining a set of callbacks. The server will call them as required to process the authentication request from the user.
OAuth Validator ModulesPostgreSQL provides infrastructure for creating custom modules to perform server-side validation of OAuth bearer tokens. Because OAuth implementations vary so wildly, and bearer token valida…
OAUTHBEARER AuthenticationOAUTHBEARER is a token-based mechanism for federated authentication. It is described in detail in RFC 7628.
A typical exchange differs depending on whether or not the client already has a be…
Object Identifier TypesObject identifiers (OIDs) are used internally by PostgreSQL as primary keys for various system tables. Type oid represents an object identifier. There are also several alias types for oid, e…
Object Information and Addressing FunctionsTable 9.81 lists functions related to database object identification and addressing.
Table 9.81. Object Information and Addressing Functions Function Description pg_get_acl ( classid oid, ob…
Object Name OptionsThese options can be used to control the names used in SQL statements sent to the remote PostgreSQL server. These options are needed when a foreign table is created with names different from…
object_referenceProvides immutable references to Postgres objects.
object_reference
Features
oblivpg_fdwOblivious foreign data wrapper for table access backed by trusted hardware and ORAM
fdw oram privacy sgx
oblivpg_ftw
Foreign data wrappers
obs_fdwHuawei Cloud OBS foreign data wrapper extension listed for RDS PostgreSQL.
fdw huawei object-storage obs
obs_fdw
Foreign data wrappers
Obsolete Functions for COPYThese functions represent older methods of handling COPY. Although they still work, they are deprecated due to poor error handling, inconvenient methods of detecting end-of-data, and lack of…
Obsolete Functions for Sending Cancel RequestsThese functions represent older methods of sending cancel requests. Although they still work, they are deprecated due to not sending the cancel requests in an encrypted manner, even when the…
Obsolete or Renamed FeaturesFunctionality is sometimes removed from PostgreSQL, feature, setting and file names sometimes change, or documentation moves to different places. This section directs users coming from old v…
Obtaining Execution Location InformationThe GET DIAGNOSTICS command, previously described in Section 41.5.5, retrieves information about current execution state (whereas the GET STACKED DIAGNOSTICS command discussed above reports …
Obtaining Information about an ErrorException handlers frequently need to identify the specific error that occurred. There are two ways to get information about the current exception in PL/pgSQL: special variables and the GET …
Obtaining the Result StatusThere are several ways to determine the effect of a command. The first method is to use the GET DIAGNOSTICS command, which has the form:
GET [ CURRENT ] DIAGNOSTICS variable { = | := } item …
More results
Find definitions in the PostgreSQL manuals, reference library, and extension catalogue.
Searching every version by default. Manual pages are indexed for PostgreSQL 10–20; the reference library and extension catalogue are not version-bound.
all: every version pg17: one version ex: extensions only ↑↓ select ↵ open