Application name for pg_basebackup and friends - Mailing list pgsql-hackers

From Jesper Pedersen
Subject Application name for pg_basebackup and friends
Date
Msg-id e8d28714-75ba-5411-f608-f2ad7b85cff9@redhat.com
Whole thread Raw
Responses Re: Application name for pg_basebackup and friends
List pgsql-hackers
Hi,

The attached patch adds an -a / --appname command line switch to
pg_basebackup, pg_receivewal and pg_recvlogical.

This is useful when f.ex. pg_receivewal needs to connect as a
synchronous client (synchronous_standby_names),

  pg_receivewal -h myhost -p 5432 -S replica1 -a replica1 --synchronous
-D /wal

I'll add the patch to the CommitFest for discussion, as there is overlap
with the -d switch.

Best regards,
  Jesper

Attachment

pgsql-hackers by date:

Previous
From: Ibrar Ahmed
Date:
Subject: Re: Allow CREATE OR REPLACE VIEW to rename the columns
Next
From: Heikki Linnakangas
Date:
Subject: Re: Application name for pg_basebackup and friends