Re: non-standard escapes in string literals

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: non-standard escapes in string literals
Дата
Msg-id 200204252022.g3PKMA814482@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: non-standard escapes in string literals  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: non-standard escapes in string literals  (Florian Weimer <Weimer@CERT.Uni-Stuttgart.DE>)
Список pgsql-hackers
Tom Lane wrote:
> F Harvell <fharvell@fts.net> writes:
> > This also poses the biggest problem in terms of legacy compatibility.
> > Perhaps the answer is to add a runtime config option (and default it
> > to ANSI) and possibly deprecate the C escaping.
> 
> While I wouldn't necessarily object to a runtime option, I do object
> to both the other parts of your proposal ;-).  Backslash escaping is
> not broken; we aren't going to remove it or deprecate it, and I would
> vote against making it non-default.

Added to TODO:
* Allow backslash handling in quoted strings to be disabled for portability

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Michael Loftis
Дата:
Сообщение: Re: What is wrong with hashed index usage?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: md5 passwords and pg_shadow