pg_basebackup with -R option and start standby have problems with escaped password

From: Hari Babu <haribabu(dot)kommi(at)huawei(dot)com>
To: "'PostgreSQL-development'" <pgsql-hackers(at)postgresql(dot)org>
Subject: pg_basebackup with -R option and start standby have problems with escaped password
Date: 2013-01-23 09:18:16
Message-ID: 00d301cdf94a$94bad220$be307660$@kommi@huawei.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2013-01-23 09:18:19 Re: Re: Proposal for Allow postgresql.conf values to be changed via SQL [review]
Previous Message Simon Riggs 2013-01-23 09:12:49 Re: Request for vote to move forward with recovery.conf overhaul