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

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Hari Babu <haribabu(dot)kommi(at)huawei(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_basebackup with -R option and start standby have problems with escaped password
Date: 2013-01-23 18:17:53
Message-ID: CABUevEwx2DQT45x1pHHdzD_khy8HZ5A9Xo95XVGHou2ZTyNx2A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Jan 23, 2013 at 10:18 AM, Hari Babu <haribabu(dot)kommi(at)huawei(dot)com> wrote:
> 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

What does the resulting recovery.conf file look like?

--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2013-01-23 18:19:33 Re: BUG #6510: A simple prompt is displayed using wrong charset
Previous Message David Fetter 2013-01-23 18:15:27 Re: Patch: UNNEST (and other functions) WITH ORDINALITY