Re: Backslashes in string literals

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Backslashes in string literals
Дата
Msg-id 200512091723.jB9HNjB16785@candle.pha.pa.us
обсуждение исходный текст
Ответ на Backslashes in string literals  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Ответы Re: Backslashes in string literals  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Список pgsql-hackers
I think we we will be turning on escape_string_warning in 8.2 and allow
standard_conforming_strings to be optionally turned on in that releaes.
I will keep the patch for us in completing that item.

This has been saved for the 8.2 release:
http://momjian.postgresql.org/cgi-bin/pgpatches_hold

---------------------------------------------------------------------------

Kevin Grittner wrote:
> I've just been bitten by the "backslash in string literals" issue.  I
> have reviewed the mailing lists and the TODO list.  I see that the
> direction PostgreSQL is headed is to drop the nonstandard escapes,
> unless an extended literal is explicitly used.  I've attached a patch
> which supports this as a configure option, using a
> --enable-standard-strings switch.  It's probably somewhat naive, but
> maybe it can be helpful.
> 
> -Kevin
> 
> 

[ Attachment, skipping... ]

> 
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Warm-cache prefetching
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Backslashes in string literals