Search PostgreSQL documentation
PG 18 · Browse by category, or enter a name or keyword
Category index802
pg_receivewal --no-password-w--no-password
Never issue a password prompt. If the server requires password authentication and a password is not available by other means such as a .pgpass file, the connection attempt wi…pg_receivewal › Options
pg_receivewal --no-sync--no-sync
This option causes pg_receivewal to not force WAL data to be flushed to disk. This is faster, but means that a subsequent operating system crash can leave the WAL segments corrupt.…pg_receivewal › Options
pg_receivewal --password-W--password
Force pg_receivewal to prompt for a password before connecting to a database. This option is never essential, since pg_receivewal will automatically prompt for a password if the…pg_receivewal › Options
pg_receivewal --port=port-p 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_receivewal › Options
pg_receivewal --slot=slotname-S slotname--slot=slotname
Require pg_receivewal to use an existing replication slot (see Section 26.2.6). When this option is used, pg_receivewal will report a flush position to the server,…pg_receivewal › Options
pg_receivewal --status-interval=interval-s interval--status-interval=interval
Specifies the number of seconds between status packets sent back to the server. This allows for easier monitoring of the progress from server. A value o…pg_receivewal › Options
pg_receivewal --synchronous--synchronous
Flush the WAL data to disk immediately after it has been received. Also send a status packet back to the server immediately after flushing, regardless of --status-interval. Thi…pg_receivewal › Options
pg_receivewal --username=username-U username--username=username
User name to connect as.pg_receivewal › Options
pg_receivewal --verbose-v--verbose
Enables verbose mode.pg_receivewal › Options
pg_receivewal --version-V--version
Print the pg_receivewal version and exit.pg_receivewal › Options
pg_recvlogicalpg_recvlogical pg_recvlogical — control PostgreSQL logical decoding streams
Synopsis pg_recvlogical [option...]pg_recvlogical
pg_recvlogical --create-slot--create-slot
Create a new logical replication slot with the name specified by --slot, using the output plugin specified by --plugin, for the database specified by --dbname. The --slot and -…pg_recvlogical › Options
pg_recvlogical --dbname=dbname-d dbname--dbname=dbname
The database to connect to. See the description of the actions for what this means in detail. The dbname can be a connection string. If so, connection string paramet…pg_recvlogical › Options
pg_recvlogical --drop-slot--drop-slot
Drop the replication slot with the name specified by --slot, then exit. The --slot is required for this action.pg_recvlogical › Options
pg_recvlogical --enable-failover--enable-failover
Enables the slot to be synchronized to the standbys. This option may only be specified with --create-slot.pg_recvlogical › Options
pg_recvlogical --endpos=lsn-E lsn--endpos=lsn
In --start mode, automatically stop replication and exit with normal exit status 0 when receiving reaches the specified LSN. If specified when not in --start mode, an erro…pg_recvlogical › Options
pg_recvlogical --file=filename-f filename--file=filename
Write received and decoded transaction data into this file. Use - for stdout. This parameter is required for --start.pg_recvlogical › Options
pg_recvlogical --fsync-interval=interval_seconds-F interval_seconds--fsync-interval=interval_seconds
Specifies how often pg_recvlogical should issue fsync() calls to ensure the output file is safely flushed to disk. The server will occasi…pg_recvlogical › Options
pg_recvlogical --help-?--help
Show help about pg_recvlogical command line arguments, and exit.pg_recvlogical › Options
pg_recvlogical --host=hostname-or-ip-h hostname-or-ip--host=hostname-or-ip
Specifies the host name of the machine on which the server is running. If the value begins with a slash, it is used as the directory for the Unix domai…pg_recvlogical › Options
pg_recvlogical --if-not-exists--if-not-exists
Do not error out when --create-slot is specified and a slot with the specified name already exists.pg_recvlogical › Options
pg_recvlogical --no-loop-n--no-loop
When the connection to the server is lost, do not retry in a loop, just exit.pg_recvlogical › Options
pg_recvlogical --no-password-w--no-password
Never issue a password prompt. If the server requires password authentication and a password is not available by other means such as a .pgpass file, the connection attempt wi…pg_recvlogical › Options
pg_recvlogical --option=name[=value]-o name[=value]--option=name[=value]
Pass the option name to the output plugin with, if specified, the option value value. Which options exist and their effects depends on the used output pl…pg_recvlogical › Options
pg_recvlogical --password-W--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 t…pg_recvlogical › Options
pg_recvlogical --plugin=plugin-P 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 › Options
pg_recvlogical --port=port-p 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 › Options
pg_recvlogical --slot=slot_name-S 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 th…pg_recvlogical › Options
pg_recvlogical --start--start
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 o…pg_recvlogical › Options
pg_recvlogical --startpos=lsn-I 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 › Options
pg_recvlogical --status-interval=interval_seconds-s 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 › Options
pg_recvlogical --two-phase-t--enable-two-phase--two-phase (deprecated)
Enables decoding of prepared transactions. This option may only be specified with --create-slot.pg_recvlogical › Options
pg_recvlogical --username=user-U user--username=user
User name to connect as. Defaults to current operating system user name.pg_recvlogical › Options
pg_recvlogical --verbose-v--verbose
Enables verbose mode.pg_recvlogical › Options
pg_recvlogical --version-V--version
Print the pg_recvlogical version and exit.pg_recvlogical › Options
pg_resetwalpg_resetwal pg_resetwal — reset the write-ahead log and other control information of a PostgreSQL database cluster
Synopsis pg_resetwal [ -f | --force ] [ -n | --dry-run ] [option...] [ -D |…pg_resetwal
pg_resetwal --char-signedness=option--char-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 1…pg_resetwal › Options
pg_resetwal --commit-timestamp-ids=xid,xid-c 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 t…pg_resetwal › Options
pg_resetwal --dry-run-n--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 …pg_resetwal › Options
pg_resetwal --epoch=xid_epoch-e 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_res…pg_resetwal › Options
More results
Find definitions in the PostgreSQL manuals, reference library, and extension catalogue.
pg17: choose a version ex: extensions only ↑↓ select ↵ open