Re: Quoting in recovery.conf
Simon Riggs <simon@2ndquadrant.com>
From: Simon Riggs <simon@2ndQuadrant.com>
To: Fujii Masao <masao.fujii@gmail.com>
Cc: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2010-04-06T11:45:29Z
Lists: 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