Re: pg_basebackup -R option in PG 9.3 beta

From: Hari Babu <haribabu(dot)kommi(at)huawei(dot)com>
To: "'Raghavendra'" <raghavendra(dot)rao(at)enterprisedb(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_basebackup -R option in PG 9.3 beta
Date: 2013-05-15 10:56:50
Message-ID: 002b01ce515a$e807e0e0$b817a2a0$@kommi@huawei.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>on Wednesday, May 15, 2013 4:04 PM Raghavendra wrote:

>In earlier version of primary connection information was enclosed within
one single quote:

>primary_conninfo = 'user=postgres host=localhost port=5432'

>

>But, the file created with -R option (recovery.conf) has doubled the single
quotes for all variable values user/host/port/sslmode/sslcompression in
primary connection.

>

>standby_mode = 'on'

>primary_conninfo = 'user=''postgres'' host=''localhost'' port=''5555''
sslmode=''disable'' sslcompression=''1'' '

>

>Was it intentional to double the singe quotes of variable values ?

Yes, It was intentional to support some of the special characters in
configuration parameters which can be used in the primary_conninfo.

There is a patch in the next commit-fest which is further extending the
special characters in password.

Please refer the following link.

https://commitfest.postgresql.org/action/patch_view?id=1085

Regards,

Hari babu.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Raghavendra 2013-05-15 11:10:33 Re: pg_basebackup -R option in PG 9.3 beta
Previous Message Ingmar Brouns 2013-05-15 10:44:33 Re: volatile void returning function not executed as often as expected in sql function