pg_basebackup with -R option and start standby have problems with escaped password - Mailing list pgsql-hackers

From Hari Babu
Subject pg_basebackup with -R option and start standby have problems with escaped password
Date
Msg-id 00d301cdf94a$94bad220$be307660$@kommi@huawei.com
Whole thread Raw
List pgsql-hackers
Test scenario to reproduce:        1. Start the server        2. create the user as follows                ./psql
postgres-c "create user user1 superuser login
 
password 'use''1'" 
       3. Take the backup with -R option as follows.                ./pg_basebackup -D ../../data1 -R -U user1 -W 

The following errors are occurring when the new standby on the backup
database starts. 

FATAL:  could not connect to the primary server: missing "=" after "1'" in
connection info string 

Regards, 
Hari babu.




pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Request for vote to move forward with recovery.conf overhaul
Next
From: Amit Kapila
Date:
Subject: Re: Re: Proposal for Allow postgresql.conf values to be changed via SQL [review]