Search PostgreSQL documentation
PG 18 · Browse by category, or enter a name or keyword
Popular entries12242
pg_crasherProvides a function that intentionally crashes a PostgreSQL backend for client error-handling tests.
crash error-handling testing
pg_crasher
Features
pg_crdt_jsonbConflict-free replicated data type operations for PostgreSQL jsonb values.
pg_crdt_jsonb
Data types
pg_createsubscriberconvert a physical replica into a new logical replica
Synopsis pg_createsubscriber [option...] { -d | --database }dbname { -D | --pgdata }datadir { -P | --publisher-server }connstr
pg_createsubscriber --alla--all
Create one subscription per database on the target server. Exceptions are template databases and databases that don't allow connections. To discover the list of all databases, connect…
pg_createsubscriber --clean=objtypeclean=objtype
Drop all objects of the specified type from specified databases on the target server. publications: The FOR ALL TABLES publications established for this subscriber are always d…
pg_createsubscriber --config-file=filenameconfig-file=filename
Use the specified main server configuration file for the target data directory. pg_createsubscriber internally uses the pg_ctl command to start and stop the target serve…
pg_createsubscriber --database=dbnamed dbname--database=dbname
The name of the database in which to create a subscription. Multiple databases can be selected by writing multiple -d switches. This option cannot be used together …
pg_createsubscriber --dry-runn--dry-run
Do everything except actually modifying the target directory.
pg_createsubscriber --enable-two-phaseT--enable-two-phase
Enables two_phase commit for the subscription. When multiple databases are specified, this option applies uniformly to all subscriptions created on those databases. The d…
pg_createsubscriber --help?--help
Show help about pg_createsubscriber command line arguments, and exit.
pg_createsubscriber --pgdata=directoryD directory--pgdata=directory
The target directory that contains a cluster directory from a physical replica.
pg_createsubscriber --publication=namepublication=name
The publication name to set up the logical replication. Multiple publications can be specified by writing multiple --publication switches. The number of publication names mu…
pg_createsubscriber --publisher-server=connstrP connstr--publisher-server=connstr
The connection string to the publisher. For details see Section 32.1.1.
pg_createsubscriber --recovery-timeout=secondst seconds--recovery-timeout=seconds
The maximum number of seconds to wait for recovery to end. Setting to 0 disables. The default is 0.
pg_createsubscriber --replication-slot=namereplication-slot=name
The replication slot name to set up the logical replication. Multiple replication slots can be specified by writing multiple --replication-slot switches. The number of …
pg_createsubscriber --socketdir=dirs dir--socketdir=dir
The directory to use for postmaster sockets on target server. The default is current directory.
pg_createsubscriber --subscriber-port=portp port--subscriber-port=port
The port number on which the target server is listening for connections. Defaults to running the target server on port 50432 to avoid unintended client connectio…
pg_createsubscriber --subscriber-username=usernameU username--subscriber-username=username
The user name to connect as on target server. Defaults to the current operating system user name.
pg_createsubscriber --subscription=namesubscription=name
The subscription name to set up the logical replication. Multiple subscriptions can be specified by writing multiple --subscription switches. The number of subscription nam…
pg_createsubscriber --verbosev--verbose
Enables verbose mode. This will cause pg_createsubscriber to output progress messages and detailed information about each step to standard error. Repeating the option causes addit…
pg_createsubscriber --versionV--version
Print the pg_createsubscriber version and exit.
pg_credereumCryptographically verifiable database auditing backed by blockchain-style transaction blocks.
pg_credereum
Security
pg_cronJob scheduler for PostgreSQL
pg_cron
Time series
pg_cron_helperExtension to help functionality of pg_cron
pg_cron_helper
Time series
pg_cryogenExperimental append-only compressed table access method for PostgreSQL 12 and later.
append-only compression table-access-method
pg_cryogen
Analytics
pg_cryptoRust cryptography with pgcrypto-compatible and modern primitives
cryptography hashing encryption
pg_crypto
Security
pg_cryptocurrencyNative blockchain asset, amount, address, and uint256 types
blockchain asset exact-arithmetic
pg_cryptocurrency
Data types
pg_csvFlexible CSV processing for Postgres
pg_csv
Functions and aggregates
pg_ctblmgrLogical Replication Based, Asynchronous Eager Materialized Views for PostgreSQL
pg_ctblmgr
Features
pg_ctlinitialize, start, stop, or control a PostgreSQL server
Synopsis pg_ctl init[db] [-D datadir] [-s] [-o initdb-options] pg_ctl start [-D datadir] [-l filename] [-W] [-t seconds] [-s] [-o opti…
pg_ctl --core-filesc--core-files
Attempt to allow server crashes to produce core files, on platforms where this is possible, by lifting any soft resource limit placed on core files. This is useful in debugging…
pg_ctl --help?--help
Show help about pg_ctl command line arguments, and exit.
pg_ctl --log=filenamel filename--log=filename
Append the server log output to filename. If the file does not exist, it is created. By default, only the cluster owner can access the log file. If group access is e…
pg_ctl --mode=modem mode--mode=mode
Specifies the shutdown mode. mode can be smart, fast, or immediate, or the first letter of one of these three. If this option is omitted, fast is the default.
pg_ctl --no-waitW--no-wait
Do not wait for the operation to complete. This is the opposite of the option -w. If waiting is disabled, the requested action is triggered, but there is no feedback about its suc…
pg_ctl --options=initdb-optionso initdb-options--options=initdb-options
Specifies options to be passed directly to the initdb command. -o can be specified multiple times, with all the given options being passed through. T…
pg_ctl --options=optionso options--options=options
Specifies options to be passed directly to the postgres command. -o can be specified multiple times, with all the given options being passed through. The options s…
pg_ctl --pgdata=datadirD datadir--pgdata=datadir
Specifies the file system location of the database configuration files. If this option is omitted, the environment variable PGDATA is used.
pg_ctl --silents--silent
Print only errors, no informational messages.
pg_ctl --timeout=secondst seconds--timeout=seconds
Specifies the maximum number of seconds to wait when waiting for an operation to complete (see option -w). Defaults to the value of the PGCTLTIMEOUT environment va…
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