Re: pg_basebackup -R option in PG 9.3 beta - Mailing list pgsql-general

From Raghavendra
Subject Re: pg_basebackup -R option in PG 9.3 beta
Date
Msg-id CA+h6AhhWz+=fVYQMfr7FDW04UH01oM-hdXzku5hb29iMTRG4iw@mail.gmail.com
Whole thread Raw
In response to pg_basebackup -R option in PG 9.3 beta  (Raghavendra <raghavendra.rao@enterprisedb.com>)
List pgsql-general
On Wed, May 15, 2013 at 4:26 PM, Hari Babu <haribabu.kommi@huawei.com> wrote:

>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.

 


Thank you.

--Raghav

pgsql-general by date:

Previous
From: Hari Babu
Date:
Subject: Re: pg_basebackup -R option in PG 9.3 beta
Next
From: Kevin Grittner
Date:
Subject: Re: Large amount of serialization errors in transactions