Search PostgreSQL documentation
PG 18 · Browse by category, or enter a name or keyword
Popular entries9997
pg_recvlogical --passwordW--password
Force pg_recvlogical to prompt for a password before connecting to a database. This option is never essential, since pg_recvlogical will automatically prompt for a password if th…
pg_recvlogical --plugin=pluginP plugin--plugin=plugin
When creating a slot, use the specified logical decoding output plugin. See Chapter 47. This option has no effect if the slot already exists.
pg_recvlogical --port=portp port--port=port
Specifies the TCP port or local Unix domain socket file extension on which the server is listening for connections. Defaults to the PGPORT environment variable, if set, or …
pg_recvlogical --slot=slot_nameS slot_name--slot=slot_name
In --start mode, use the existing logical replication slot named slot_name. In --create-slot mode, create the slot with this name. In --drop-slot mode, delete the…
pg_recvlogical --startstart
Begin streaming changes from the logical replication slot specified by --slot, continuing until terminated by a signal. If the server side change stream ends with a server shutdown or …
pg_recvlogical --startpos=lsnI lsn--startpos=lsn
In --start mode, start replication from the given LSN. For details on the effect of this, see the documentation in Chapter 47 and Section 54.4. Ignored in other modes.
pg_recvlogical --status-interval=interval_secondss interval_seconds--status-interval=interval_seconds
This option has the same effect as the option of the same name in pg_receivewal. See the description there.
pg_recvlogical --two-phaset--enable-two-phase--two-phase (deprecated)
Enables decoding of prepared transactions. This option may only be specified with --create-slot.
pg_recvlogical --username=userU user--username=user
User name to connect as. Defaults to current operating system user name.
pg_recvlogical --verbosev--verbose
Enables verbose mode.
pg_recvlogical --versionV--version
Print the pg_recvlogical version and exit.
pg_recyclebinIntercepts DROP TABLE and TRUNCATE to retain recoverable table data and metadata in a recycle-bin schema.
flashback pgrx recovery
pg_recyclebin
Administration
pg_redispubPublish channel messages from PostgreSQL to a local Redis server
messaging publish redis
pg_redispub
Replication and streams
pg_registryStores and validates JSON Schemas, generates schemas from tables, and binds schemas to Kafka topics.
json-schema pgrx schema-registry
pg_registry
Features
pg_regresqlTrust pg_class statistics for planning instead of physical relation size
pg_regresql
Procedural languages
pg_reject_truncateRejects or prevents TRUNCATE operations in PostgreSQL.
hook security truncate
pg_reject_truncate
Administration
pg_relation_sqlGenerate inlinable SQL functions for navigating PostgreSQL foreign-key relations
foreign-key relations sql-functions code-generation planner inlining ddl
pg_relation_sql
Utilities
pg_relayDurable event processor for PostgreSQL
extension go golang listen-notify postgres postgresql postgresql extension relay
pg_relay
Features
pg_relusageLog all the queries that reference a particular column
pg_relusage
Monitoring
pg_remote_execExecutes shell commands from SQL and optionally returns their standard output.
administration shell-execution
pg_remote_exec
Administration
pg_renderRender HTML in SQL
pgrx
pg_render
Utilities
pg_repackReorganize tables in PostgreSQL databases with minimal locks
pg_repack
Administration
pg_repeaterReplicates utility statements and serialized query plans to a remote PostgreSQL node over postgres_fdw.
distributed-query query-plan
pg_repeater
Replication and streams
pg_replicaConsensus-driven automatic failover for PostgreSQL
consensus database database-management failover high availability pgrx postgres-extension postgresql raft replication rust streaming replic…
pg_replication_originThe pg_replication_origin catalog contains all replication origins created. For more on replication origins see Chapter 48.
Unlike most system catalogs, pg_replication_origin is shared acros…
pg_replication_origin_statusThe pg_replication_origin_status view contains information about how far replay for a certain origin has progressed. For more on replication origins see Chapter 48.
Table 53.19. pg_replicati…
pg_replication_slotsThe pg_replication_slots view provides a listing of all replication slots that currently exist on the database cluster, along with their current state.
For more on replication slots, see Sec…
pg_resetwalreset the write-ahead log and other control information of a PostgreSQL database cluster
Synopsis pg_resetwal [ -f | --force ] [ -n | --dry-run ] [option...] [ -D | --pgdata ]datadir
pg_resetwalreset the write-ahead log and other control information of a PostgreSQL database cluster
Synopsis pg_resetwal [ -f | --force ] [ -n | --dry-run ] [option...] [ -D | --pgdata ]datadir
pg_resetwal --char-signedness=optionchar-signedness=option
Manually set the default char signedness. Possible values are signed and unsigned. For a database cluster that pg_upgrade upgraded from a PostgreSQL version before 18,…
pg_resetwal --commit-timestamp-ids=xid,xidc xid,xid--commit-timestamp-ids=xid,xid
Manually set the oldest and newest transaction IDs for which the commit time can be retrieved. A safe value for the oldest transaction ID for which th…
pg_resetwal --dry-runn--dry-run
The -n/--dry-run option instructs pg_resetwal to print the values reconstructed from pg_control and values about to be changed, and then exit without modifying anything. This is m…
pg_resetwal --epoch=xid_epoche xid_epoch--epoch=xid_epoch
Manually set the next transaction ID's epoch. The transaction ID epoch is not actually stored anywhere in the database except in the field that is set by pg_rese…
pg_resetwal --forcef--force
Force pg_resetwal to proceed even in situations where it could be dangerous, as explained above. Specifically, this option is required to proceed if the server had not been cleanly …
pg_resetwal --help?--help
Show help, then exit.
pg_resetwal --multixact-ids=mxid,mxidm mxid,mxid--multixact-ids=mxid,mxid
Manually set the next and oldest multitransaction ID. A safe value for the next multitransaction ID (first part) can be determined by looking for the num…
pg_resetwal --multixact-offset=mxoffO mxoff--multixact-offset=mxoff
Manually set the next multitransaction offset. A safe value can be determined by looking for the numerically largest file name in the directory pg_multixact/m…
pg_resetwal --next-oid=oido oid--next-oid=oid
Manually set the next OID. There is no comparably easy way to determine a next OID that's beyond the largest one in the database, but fortunately it is not critical to ge…
pg_resetwal --next-transaction-id=xidx xid--next-transaction-id=xid
Manually set the next transaction ID. A safe value can be determined by looking for the numerically largest file name in the directory pg_xact under the data d…
pg_resetwal --next-wal-file=walfilel walfile--next-wal-file=walfile
Manually set the WAL starting location by specifying the name of the next WAL segment file. The name of next WAL segment file should be larger than any WAL s…
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