Search PostgreSQL documentation
PG 18 · Browse by category, or enter a name or keyword
Popular entries9775
Free Space Map66.3. Free Space Map
Each heap and index relation, except for hash indexes, has a Free Space Map (FSM) to keep track of available space in the relation. It's stored alongside the main relati…Free Space Map
Freezing19.10.4. Freezing
To maintain correctness even after transaction IDs wrap around, PostgreSQL marks rows that are sufficiently old as frozen. These rows are visible to everyone; other transac…Freezing
frkn_avgC aggregate extension providing my_avg for bigint and floating-point inputs.
aggregate average
Aggregate-Average
Functions and aggregatesFunctions and aggregates · Extensions
FROM7.2.1. The FROM Clause # The FROM clause derives a table from one or more other tables given in a comma-separated table reference list. FROM table_reference [, table_reference [, ...]] A tab…Table Expressions › The FROM Clause
FROM ClauseFROM Clause
The FROM clause specifies one or more source tables for the SELECT. If multiple sources are specified, the result is the Cartesian product (cross join) of all the sources. But us…FROM Clause
from_collapse_limitfrom_collapse_limit
Query Tuning
10
The planner will merge sub-queries into upper queries if the resulting FROM list would have no more than this many items. Smaller values reduce planning t…Configuration · Query Tuning
Frontend/Backend ProtocolChapter 54. Frontend/Backend Protocol
PostgreSQL uses a message-based protocol for communication between frontends and backends (clients and servers). The protocol is supported over TCP/IP a…Frontend/Backend Protocol
frozenidfrozenid
Lock
10
Waiting to update pg_database.datfrozenxid and pg_database.datminmxid.
11
12
13
14
15
16
17
18
19
20
9.6
Sub-second handoff during ordinary writes or planned DDL can be norm…Wait Events · Lock
fsmTrigger-enforced finite state machines for application tables.
fsm workflow state-machine trigger
pg_fsm
FeaturesFeatures · Extensions
fsm_coreFinite state machine toolkit for PostgreSQL
fsm workflow
fsm_core
FeaturesFeatures · Extensions
fspg_ec_advisorSQL-based workload and resource scaling advisor for PostgreSQL 17
workload analysis capacity planning
fspg_ec_advisor
MonitoringMonitoring · Extensions
fsyncfsync
Write-Ahead Log
10
If this parameter is on, the PostgreSQL server will try to make sure that updates are physically written to disk, by issuing fsync() system calls or various equivale…Configuration · Write-Ahead Log
ftreeatree extension for postgresql
postgresql postgresql-extension
ftree
FeaturesFeatures · Extensions
Full Text SearchChapter 12. Full Text SearchFull Text Search
full_page_writesfull_page_writes
Write-Ahead Log
10
When this parameter is on, the PostgreSQL server writes the entire content of each disk page to WAL during the first modification of that page after a che…Configuration · Write-Ahead Log
Function Call54.2.5. Function Call
The Function Call sub-protocol allows the client to request a direct call of any function that exists in the database's pg_proc system catalog. The client must have exe…Function Call
Function Calls4.2.6. Function Calls
The syntax for a function call is the name of a function (possibly qualified with a schema name), followed by its argument list enclosed in parentheses:
function_name (…Function Calls
Function Calls in FROMFunction Calls in FROM
PostgreSQL allows a function call to be written directly as a member of the FROM list. In the SQL standard it would be necessary to wrap such a function call in a sub-…Function Calls in FROM
Function Optimization Information36.11. Function Optimization Information
By default, a function is just a “black box” that the database system knows very little about the behavior of. However, that means that queries using…Function Optimization Information
Function Overloading36.6. Function Overloading
More than one function can be defined with the same SQL name, so long as the arguments they take are different. In other words, function names can be overloaded. W…Function Overloading
Function Security21.6. Function Security
Functions, triggers and row-level security policies allow users to insert code into the backend server that other users might execute unintentionally. Hence, these me…Function Security
Function Volatility Categories36.7. Function Volatility Categories
Every function has a volatility classification, with the possibilities being VOLATILE, STABLE, or IMMUTABLE. VOLATILE is the default if the CREATE FUNCTI…Function Volatility Categories
Functional Dependencies69.2.1. Functional Dependencies
Multivariate correlation can be demonstrated with a very simple data set — a table with two columns, both containing the same values:
CREATE TABLE t (a INT, b…Functional Dependencies
Functional Dependencies14.2.2.1. Functional Dependencies
The simplest kind of extended statistics tracks functional dependencies, a concept used in definitions of database normal forms. We say that column b is fun…Functional Dependencies
Functional DependenciesFunctional Dependencies
PostgreSQL recognizes functional dependency (allowing columns to be omitted from GROUP BY) only when a table's primary key is included in the GROUP BY list. The SQL s…Functional Dependencies
FunctionsF.1.1. Functions
bt_index_check(index regclass, heapallindexed boolean, checkunique boolean) returns void bt_index_check tests that its target, a B-Tree index, respects a variety of invarian…Functions
FunctionsF.18.1. Functions
The aggregator is an aggregate function int_array_aggregate(integer) that produces an integer array containing exactly the integers it is fed. This is a wrapper around arra…Functions
FunctionsF.27.1. Functions
pg_freespace(rel regclass IN, blkno bigint IN) returns int2 Returns the amount of free space on the page of the relation, specified by blkno, according to the FSM. pg_frees…Functions
FunctionsF.28.1. Functions
pg_get_logical_snapshot_meta(filename text) returns record # Gets logical snapshot metadata about a snapshot file that is located in the server's pg_logical/snapshots direc…Functions
FunctionsF.30.1. Functions
pg_prewarm(regclass, mode text default 'buffer', fork text default 'main', first_block int8 default null, last_block int8 default null) RETURNS int8
The first argument is t…Functions
FunctionsF.32.3. Functions
pg_stat_statements_reset(userid Oid, dbid Oid, queryid bigint, minmax_only boolean) returns timestamp with time zone pg_stat_statements_reset discards statistics gathered s…Functions
FunctionsF.33.1. Functions
pgstattuple(regclass) returns record
pgstattuple returns a relation's physical length, percentage of “dead” tuples, and other info. This may help users to determine whether…Functions
FunctionsF.34.1. Functions
heap_force_kill(regclass, tid[]) returns void heap_force_kill marks “used” line pointers as “dead” without examining the tuples. The intended use of this function is to for…Functions
FunctionsF.36.1. Functions
pg_visibility_map(relation regclass, blkno bigint, all_visible OUT boolean, all_frozen OUT boolean) returns record Returns the all-visible and all-frozen bits in the visibi…Functions
FunctionsF.38.2. Functions
postgres_fdw_get_connections( IN check_conn boolean DEFAULT false, OUT server_name text, OUT user_name text, OUT valid boolean, OUT used_in_xact boolean, OUT closed boolean…Functions
FunctionsE.6.3.4. Functions
Add function casefold() to allow for more sophisticated case-insensitive matching (Jeff Davis) § This allows more accurate comparisons, i.e., a character can have multiple…Functions
Functions10.3. Functions
The specific function that is referenced by a function call is determined using the following procedure.
Function Type Resolution
Select the functions to be considered from t…Functions
FunctionsF.48.3. Functions
The unaccent() function removes accents (diacritic signs) from a given string. Basically, it's a wrapper around unaccent-type dictionaries, but it can be used outside norma…Functions
Functions and OperatorsChapter 9. Functions and Operators
PostgreSQL provides a large number of functions and operators for the built-in data types. This chapter describes most of them, although additional special…Functions and Operators
Functions and OperatorsF.20.3. Functions and Operators
The isn module provides the standard comparison operators, plus B-tree and hash indexing support for all these data types. In addition, there are several spec…Functions and Operators
More results
Find definitions in the PostgreSQL manuals, reference library, and extension catalogue.
pg17: choose a version ex: extensions only ↑↓ select ↵ open