Re: PG 9.0 and standard_conforming_strings

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PG 9.0 and standard_conforming_strings
Дата
Msg-id 3974.1264868218@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PG 9.0 and standard_conforming_strings  (Euler Taveira de Oliveira <euler@timbira.com>)
Список pgsql-hackers
Euler Taveira de Oliveira <euler@timbira.com> writes:
> Peter Eisentraut escreveu:
>> Maybe the next step should be to leave standard_conforming_strings off
>> but make the warning an error.
>> 
> It will break application in the same way as enabling the parameter. Besides
> that the parameter should be renamed to escape_string_*error* to reflect the
> fact that it doesn't emit an error anymore. I don't think it is a good idea.

Yeah, I agree.  Such a change wouldn't do anything to help with testing
of the standard_conforming_strings = on case.  What it would do is
render the s_c_s = off case entirely useless, unless one also disabled
the error, which pretty much every single user would immediately do.
We might as well just flip the s_c_s setting.  People who don't want to
be bothered will still undo the setting change, but at least then our
default behavior is more standard rather than even less so.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Matteo Beccati
Дата:
Сообщение: Re: mailing list archiver chewing patches
Следующее
От: Ivan Sergio Borgonovo
Дата:
Сообщение: Re: development setup and libdir