OS Manuals

/usr/libexec/neon/v14/bin/pg_receivewal

Serverless Postgres. We separated storage and compute to offer autoscaling, branching, and bottomless storage.

From neon 9129-r9 (os), captured 2026-11-05 by running pg_receivewal --help (exit 0). permalink

pg_receivewal receives PostgreSQL streaming write-ahead logs.

Usage:
  pg_receivewal [OPTION]...

Options:
  -D, --directory=DIR    receive write-ahead log files into this directory
  -E, --endpos=LSN       exit after receiving the specified LSN
      --if-not-exists    do not error if slot already exists when creating a slot
  -n, --no-loop          do not loop on connection lost
      --no-sync          do not wait for changes to be written safely to disk
  -s, --status-interval=SECS
                         time between status packets sent to server (default: 10)
  -S, --slot=SLOTNAME    replication slot to use
      --synchronous      flush write-ahead log immediately after writing
  -v, --verbose          output verbose messages
  -V, --version          output version information, then exit
  -Z, --compress=0-9     compress logs with given compression level
  -?, --help             show this help, then exit

Connection options:
  -d, --dbname=CONNSTR   connection string
  -h, --host=HOSTNAME    database server host or socket directory
  -p, --port=PORT        database server port number
  -U, --username=NAME    connect as specified database user
  -w, --no-password      never prompt for password
  -W, --password         force password prompt (should happen automatically)

Optional actions:
      --create-slot      create a new replication slot (for the slot's name see --slot)
      --drop-slot        drop the replication slot (for the slot's name see --slot)

Report bugs to <pgsql-bugs@lists.postgresql.org>.
PostgreSQL home page: <https://www.postgresql.org/>
Options (20)
OptionDescriptionSource
-D, --directory DIRreceive write-ahead log files into this directoryhelp
-E, --endpos LSNexit after receiving the specified LSNhelp
--if-not-existsdo not error if slot already exists when creating a slothelp
-n, --no-loopdo not loop on connection losthelp
--no-syncdo not wait for changes to be written safely to diskhelp
-s, --status-interval SECStime between status packets sent to server (default: 10)help
-S, --slot SLOTNAMEreplication slot to usehelp
--synchronousflush write-ahead log immediately after writinghelp
-v, --verboseoutput verbose messageshelp
-V, --versionoutput version information, then exithelp
-Z, --compress 0-9compress logs with given compression levelhelp
-?, --helpshow this help, then exithelp
-d, --dbname CONNSTRconnection stringhelp
-h, --host HOSTNAMEdatabase server host or socket directoryhelp
-p, --port PORTdatabase server port numberhelp
-U, --username NAMEconnect as specified database userhelp
-w, --no-passwordnever prompt for passwordhelp
-W, --passwordforce password prompt (should happen automatically)help
--create-slotcreate a new replication slot (for the slot's name see --slot)help
--drop-slotdrop the replication slot (for the slot's name see --slot)help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.