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

From Fujii Masao
Subject Re: Quoting in recovery.conf
Date
Msg-id h2k3f0b79eb1004060007y3eccf1f3oe51235550864ec09@mail.gmail.com
Whole thread Raw
In response to Quoting in recovery.conf  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Responses Re: Quoting in recovery.conf  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
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.

Regards,

-- 
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Compile fail, alpha5 & gcc 4.3.3 in elog.c
Next
From: Heikki Linnakangas
Date:
Subject: Remaining Streaming Replication Open Items