Re: Outdated note
От | Tom Lane |
---|---|
Тема | Re: Outdated note |
Дата | |
Msg-id | 26235.1161450956@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Outdated note (Alvaro Herrera <alvherre@commandprompt.com>) |
Список | pgsql-docs |
Alvaro Herrera <alvherre@commandprompt.com> writes: > On 4.1.2.1. String Constants, the following note appears: > Note: While ordinary strings now support C-style backslash escapes, > future versions will generate warnings for such usage and eventually > treat backslashes as literal characters to be standard-conforming. > That future version is 8.2, so the note should be updated to reflect it. Done; I ended up rewriting the whole subsection. I notice though that the following subsection about dollar quoting could really do with some rework too, because it implicitly assumes that backslashes are special in ordinary string literals. The example it gives to show the usefulness of dollar quoting for nested literals is really not very compelling at all if backslashes aren't special :-(. Can anyone come up with a better example that depends only on avoiding multiplied single quotes? regards, tom lane
В списке pgsql-docs по дате отправления: