Re: Quoting in recovery.conf - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Quoting in recovery.conf
Date
Msg-id 1270554329.24910.5875.camel@ebony
Whole thread Raw
In response to Re: Quoting in recovery.conf  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: Quoting in recovery.conf  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
On Tue, 2010-04-06 at 16:07 +0900, Fujii Masao wrote:
> On Tue, Apr 6, 2010 at 3:47 PM, Heikki Linnakangas
> <heikki.linnakangas@enterprisedb.com> wrote:
> > To follow up on the discussion here:
> >
> > http://archives.postgresql.org/pgsql-docs/2010-02/msg00039.php
> >
> > It seems like a big oversight that there's no way to insert quotes in
> > strings in recovery.conf. In the long run, the parsing should be done
> > the same way as postgresql.conf, or the two files be merged altogether,
> > but right now I think we should just add support for escaping quotes. I
> > propose two quotes '' to mean a quote mark in the string, like in
> > strings in SQL queries.
> 
> Agreed. This would be useful for users to specify the application_name
> containing a space in the primary_conninfo, for example.

+1

-- Simon Riggs           www.2ndQuadrant.com



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Re: [COMMITTERS] pgsql: Check compulsory parameters in recovery.conf in standby_mode, per
Next
From: Simon Riggs
Date:
Subject: Re: Re: [COMMITTERS] pgsql: Check compulsory parameters in recovery.conf in standby_mode, per