quoting and recovery.conf

Поиск
Список
Период
Сортировка
Искать
От
Bruce Momjian
Тема
quoting and recovery.conf
Дата
в 14:00:09
Msg-id
201005131700.o4DH00427974@momjian.us
Список
Дерево обсуждения
quoting and recovery.conf Bruce Momjian <bruce@momjian.us>
Re: quoting and recovery.conf Robert Haas <robertmhaas@gmail.com>
Re: quoting and recovery.conf Bruce Momjian <bruce@momjian.us>
Re: quoting and recovery.conf Fujii Masao <masao.fujii@gmail.com>
Re: quoting and recovery.conf Greg Stark <gsstark@mit.edu>
Re: quoting and recovery.conf Tom Lane <tgl@sss.pgh.pa.us>
Re: quoting and recovery.conf Simon Riggs <simon@2ndQuadrant.com>
Re: quoting and recovery.conf Greg Stark <gsstark@mit.edu>
Re: quoting and recovery.conf Simon Riggs <simon@2ndQuadrant.com>
Re: quoting and recovery.conf Fujii Masao <masao.fujii@gmail.com>
Is there a reason we require single quotes around boolean values in
recovery.conf?
standby_mode = 'off'

This does not work:
standby_mode = off

I knew there were inconsistencies between quoting in postgresql.conf and
recovery.conf, but I didn't realize it extended to boolean quoting.  I
see this at the top of recovery.conf now:
# This file consists of lines of the form:##   name = 'value'## (The quotes around the value are NOT optional, but the "=" is.)#
and this issue existed in 8.4 as well.  Seems I just never noticed it,
and it not specifically mentioned in the TODO item we already have.

--  Bruce Momjian          http://momjian.us EnterpriseDB                             http://enterprisedb.com

В списке pgsql-hackers по дате отправления
От: Alexander Korotkov
Дата:
От: Josh Berkus
Дата:
FAQ