Search PostgreSQL documentation
PG 18 · Browse by category, or enter a name or keyword
Popular entries9775
gbuilderAdditional geometry builders
gbuilder
GeospatialGeospatial · Extensions
gc_to_secgc_to_sec ( float8 ) → float8 Converts the great circle distance between two points on the surface of the Earth to the normal straight line (secant) distance between them.earthdistance — calculate great-circle distances › Cube-Based Earth Distances
gcdgcd
Mathematical Functions And Operators
13
Greatest common divisor (the largest positive number that divides both inputs with no remainder); returns 0 if both inputs are zero; available for…Functions · Mathematical Functions And Operators
gcdC function that computes the greatest common divisor of an integer array.
greatest-common-divisor integer-array math
gcd
Functions and aggregatesFunctions and aggregates · Extensions
gdpr_anatomizerPrototype GDPR/anatomy anonymization extension implemented with PL/Python and PL/pgSQL helpers.
postgresql_anatomy
SecuritySecurity · Extensions
geekspeakDatabase schema extension for the GeekSpeak podcast website.
podcast schema website
pg_geekspeak
FeaturesFeatures · Extensions
geekspeak_calendarCalendar and iCalendar integration for GeekSpeak podcast recording schedules and episodes.
calendar ical podcast scheduling
pg_geekspeak_calendar
Time seriesTime series · Extensions
gen_random_uuidgen_random_uuid
Uuid Functions
13
This function returns a version 4 (random) UUID. This is the most commonly used type of UUID and is appropriate for most applications.
gen_random_uuid () → …Functions · Uuid Functions
gen_salt()F.26.2.2. gen_salt()
gen_salt(type text [, iter_count integer ]) returns text
Generates a new random salt string for use in crypt(). The salt string also tells crypt() which algorithm to use…gen_salt()
General36.10.6.1. General
The PostgreSQL server contains several well-demarcated APIs for server plugins, such as the function manager (fmgr, described in this chapter), SPI (Chapter 45), and vario…General
General Coding Guidelines50.1.2. General Coding Guidelines
Developers should keep the following in mind when implementing token validation:
Token Confidentiality Modules should not write tokens, or pieces of tokens,…General Coding Guidelines
General FunctionsF.23.1. General Functions
get_raw_page(relname text, fork text, blkno bigint) returns bytea get_raw_page reads the specified block of the named relation and returns a copy as a bytea value. …General Functions
General FunctionsF.37.1. General Functions
pg_get_wal_record_info(in_lsn pg_lsn) returns record # Gets WAL record information about a record that is located at or after the in_lsn argument. For example: post…General Functions
General Hashing FunctionsF.26.1. General Hashing FunctionsGeneral Hashing Functions
General PerformanceE.6.3.1.3. General Performance
Add an asynchronous I/O subsystem (Andres Freund, Thomas Munro, Nazir Bilal Yavuz, Melanie Plageman) § § § § § § § § § § § This feature allows backends to queu…General Performance
General PurposeGeneral Purpose
-B nbuffers
Sets the number of shared buffers for use by the server processes. The default value of this parameter is chosen automatically by initdb. Specifying this option i…General Purpose
generate_date_seriesgenerate_series()-style set-returning function for date ranges with integer day steps.
date generate-series set-returning-function
generate_date_series
Functions and aggregatesFunctions and aggregates · Extensions
generate_seriesgenerate_series
Set Returning Functions
10
Generate a series of values, from start to stop with a step size of one
generate_series ( start, stop ) → setof int, setof bigint, or setof numeric…Functions · Set Returning Functions
generate_subscriptsgenerate_subscripts
Set Returning Functions
10
Generate a series comprising the given array's subscripts.
generate_subscripts ( array anyarray, dim int ) → setof int Generate a series compri…Functions · Set Returning Functions
generate_up_down_seriesPostgreSQL Up Down Sequence
c postgresql postgresql-extension series series-generator
generate_up_down_series
Functions and aggregatesFunctions and aggregates · Extensions
Generated Column Replication29.6. Generated Column Replication
Typically, a table at the subscriber will be defined the same as the publisher table, so if the publisher table has a GENERATED column then the subscriber …Generated Column Replication
Generated Columns5.4. Generated Columns
A generated column is a special column that is always computed from other columns. Thus, it is for columns what a view is for tables. There are two kinds of generated …Generated Columns
Generated ColumnsGenerated Columns
The options STORED and VIRTUAL are not standard but are also used by other SQL implementations. The SQL standard does not specify the storage of generated columns.Generated Columns
Generating PGP Keys with GnuPGF.26.3.9. Generating PGP Keys with GnuPG
To generate a new key:
gpg --gen-key
The preferred key type is “DSA and Elgamal”.
For RSA encryption you must create either DSA or RSA sign-only key …Generating PGP Keys with GnuPG
Generating Possible Plans51.5.1. Generating Possible Plans
The planner/optimizer starts by generating plans for scanning each individual relation (table) used in the query. The possible plans are determined by the a…Generating Possible Plans
Generating Possible Plans with GEQO61.3.1. Generating Possible Plans with GEQO
The GEQO planning process uses the standard planner code to generate plans for scans of individual relations. Then join plans are developed using …Generating Possible Plans with GEQO
Generic File Access Functions9.28.9. Generic File Access Functions
The functions shown in Table 9.108 provide native access to files on the machine hosting the server. Only files within the database cluster directory an…Generic File Access Functions
Generic Message Callback47.6.4.8. Generic Message Callback
The optional message_cb callback is called whenever a logical decoding message has been decoded.
typedef void (*LogicalDecodeMessageCB) (struct LogicalDeco…Generic Message Callback
Generic WAL Records64.1. Generic WAL Records
Although all built-in WAL-logged modules have their own types of WAL records, there is also a generic WAL record type, which describes changes to pages in a generic…Generic WAL Records
generic_planGenerate a generic plan for a parameterized SQL statement.
explain performance query-plan
generic_plan
MonitoringMonitoring · Extensions
Genetic Algorithms61.2. Genetic Algorithms
The genetic algorithm (GA) is a heuristic optimization method which operates through randomized search. The set of possible solutions for the optimization problem is…Genetic Algorithms
Genetic Query Optimization (GEQO) in PostgreSQL61.3. Genetic Query Optimization (GEQO) in PostgreSQL
The GEQO module approaches the query optimization problem as though it were the well-known traveling salesman problem (TSP). Possible qu…Genetic Query Optimization (GEQO) in PostgreSQL
Genetic Query OptimizerChapter 61. Genetic Query Optimizer
Author Written by Martin Utesch (<utesch@aut.tu-freiberg.de>) for the Institute of Automatic Control at the University of Mining and Technology in Freiber…Genetic Query Optimizer
Genetic Query Optimizer19.7.3. Genetic Query Optimizer
The genetic query optimizer (GEQO) is an algorithm that does query planning using heuristic searching. This reduces planning time for complex queries (those j…Genetic Query Optimizer
geohash_extraAdditional geohash functions
geohash-extra
GeospatialGeospatial · Extensions
geohistorical_objectsGeohistorical objects support
geohistorical_objects
GeospatialGeospatial · Extensions
geoipIP-based geolocation query
pgdg-flaw
geoip
GeospatialGeospatial · Extensions
geoip2lookupLook up IP-address info in MaxMind GeoIP2 MMDB files
geolocation maxmind mmdb plperlu
geoip2lookup
GeospatialGeospatial · Extensions
Geometric Functions and Operators9.11. Geometric Functions and Operators
The geometric types point, box, lseg, line, path, polygon, and circle have a large set of native support functions and operators, shown in Table 9.36,…Geometric Functions and Operators
Geometric Types8.8. Geometric Types
Geometric data types represent two-dimensional spatial objects. Table 8.20 shows the geometric types available in PostgreSQL.
Table 8.20. Geometric Types Name Storage Si…Geometric Types
More results
Find definitions in the PostgreSQL manuals, reference library, and extension catalogue.
pg17: choose a version ex: extensions only ↑↓ select ↵ open