Search PostgreSQL documentation
PG 18 · Browse by category, or enter a name or keyword
Popular entries12235
ltreehierarchical tree-like data type
This module implements a data type ltree for representing labels of data stored in a hierarchical tree-like structure. Extensive facilities for searching thr…
ltree — hierarchical tree-like data typeThis module implements a data type ltree for representing labels of data stored in a hierarchical tree-like structure. Extensive facilities for searching through label trees are provided.
Th…
ltree2text( ltree ) → text Casts ltree to text.
ltree_plpython2uA fixed postgres xl so it can compile on newer versions of GCC and glibc
ltree_plpython2u
Procedural languages
ltree_plpython3utransform between ltree and plpython3u
plpython3u
Procedural languages
ltree_plpythonutransform between ltree and plpythonu
ltree_plpythonu
Procedural languages
ltree_plrubyTransform between ltree and Ruby Arrays for PL/Ruby
ltree ruby transform
plruby
Procedural languages
lua_fdwLua Foreign Data Wrapper
fdw lua read-only
lua_fdw
Foreign data wrappers
ludia_funcsLudia full-text search helper functions
fts japanese normalization snippet
ludia_funcs
Full-text search
lukasiewicz_logicProvides operators to evaluate fuzzy logic expressions according to Łukasiewicz logic.
fuzzy gödel logic operators product łukasiewicz
fuzzy_logic
Functions and aggregates
LWLocks
ly2pgImport LilyPond files into PostgreSQL
dependency-closure ly2pg source-only sql
pgwtc
Replication and streams
macaddrThe macaddr type stores MAC addresses, known for example from Ethernet card hardware addresses (although MAC addresses are used for other purposes as well). Input is accepted in the followin…
macaddr8The macaddr8 type stores MAC addresses in EUI-64 format, known for example from Ethernet card hardware addresses (although MAC addresses are used for other purposes as well). This type can a…
macavityDeterministic session-local fault injection for PostgreSQL test clusters
test fault-injection
macavity
Administration
macOSIf you use MacPorts, the following will get you set up:
sudo port install docbook-xml docbook-xsl-nons libxslt fop
If you use Homebrew, use this:
brew install docbook docbook-xsl libxslt fop…
macOSTo build PostgreSQL from source on macOS, you will need to install Apple's command line developer tools, which can be done by issuing
xcode-select --install
(note that this will pop up a GUI…
madlibAn open-source in-database analytics library
analytics machine learning
madlib
AI and vectors
mageYugabyteDB - the cloud native distributed SQL database for mission-critical applications.
cloud-native cpp database distributed-database distributed-sql distributed-sql-database high-perform…
Main FunctionsPQexec # Submits a command to the server and waits for the result. PGresult *PQexec(PGconn *conn, const char *command); Returns a PGresult pointer or possibly a null pointer. A non-null poin…
Maintenance for Inheritance PartitioningTo remove old data quickly, simply drop the child table that is no longer necessary:
DROP TABLE measurement_y2006m02;
To remove the child table from the inheritance hierarchy table but retai…
Major VersionsThere is no promise of API compatibility between PostgreSQL major versions. Extension code therefore might require source code changes to work with multiple major versions. These can usually…
Major VersionsServers of different major versions have intentionally incompatible ABIs. Extensions that use server APIs must therefore be re-compiled for each major release. The inclusion of PG_MODULE_MAG…
make_valid( isn ) → isn Clears the invalid-check-digit flag of the value.
Making a Base BackupThe easiest way to perform a base backup is to use the pg_basebackup tool. It can create a base backup either as regular files or as a tar archive. If more flexibility than pg_basebackup can…
Making a Base Backup Using the Low Level APIInstead of taking a full or incremental base backup using pg_basebackup, you can take a base backup using the low-level API. This procedure contains a few more steps than the pg_basebackup m…
Making an Incremental BackupYou can use pg_basebackup to take an incremental backup by specifying the --incremental option. You must supply, as an argument to --incremental, the backup manifest to an earlier backup fro…
maludb_corePostgreSQL memory and knowledge graph with tenant schemas, vector retrieval, and scoped principals
database memory postgresql postgresql-extension
maludb_core
AI and vectors
malwaredb_pgPostgreSQL extension for MalwareDB similarity functions: SSDeep, LZJD, and TLSH
malware pgrx similarity
malwaredb_pg
AI and vectors
Managing CollationsA collation is an SQL schema object that maps an SQL name to locales provided by libraries installed in the operating system. A collation definition has a provider that specifies which libra…
Managing Configuration File ContentsPostgreSQL provides several features for breaking down complex postgresql.conf files into sub-files. These features are especially useful when managing multiple servers with related, but not…
Managing Database ConnectionsThis section describes how to open, close, and switch database connections.
Managing DatabasesEvery instance of a running PostgreSQL server manages one or more databases. Databases are therefore the topmost hierarchical level for organizing SQL objects (“database objects”). This chap…
Managing Kernel ResourcesPostgreSQL can sometimes exhaust various operating system resource limits, especially when multiple copies of the server are running on the same system, or in very large installations. This …
Managing TransactionsIn the default mode, statements are committed only when EXEC SQL COMMIT is issued. The embedded SQL interface also supports autocommit of transactions (similar to psql's default behavior) vi…
manipVarious manipulation functions
manip
Functions and aggregates
Manipulating DocumentsSection 12.3.1 showed how raw textual documents can be converted into tsvector values. PostgreSQL also provides functions and operators that can be used to manipulate documents that are alre…
Manipulating QueriesSection 12.3.2 showed how raw textual queries can be converted into tsquery values. PostgreSQL also provides functions and operators that can be used to manipulate queries that are already i…
ManpagesWe use the DocBook XSL stylesheets to convert DocBook refentry pages to *roff output suitable for man pages. To create the man pages, use the command:
doc/src/sgml$ make man
mansueli-function_vcIn database version control for postgres functions
database.dev tle
mansueli-function_vc
Administration
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