MyNixOS website logo
option

services.postgresqlWalReceiver.receivers.<name>.connection

Specifies parameters used to connect to the server, as a connection string. See Section 34.1.1 of the PostgreSQL manual for more information.

Because pg_receivewal doesn't connect to any particular database in the cluster, database name in the connection string will be ignored.

Declarations
Type
string
Example
"postgresql://user@somehost"