public inbox for [email protected]
help / color / mirror / Atom feedOutdated note
2+ messages / 2 participants
[nested] [flat]
* Outdated note
@ 2006-10-20 16:39 Alvaro Herrera <[email protected]>
2006-10-21 17:15 ` Re: Outdated note Tom Lane <[email protected]>
0 siblings, 1 reply; 2+ messages in thread
From: Alvaro Herrera @ 2006-10-20 16:39 UTC (permalink / raw)
To: pgsql-docs
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.
(But the wording must be changed, because AFAICT that note was written
when we thought that standard_conforming_strings would be read-only, I
think).
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Outdated note
2006-10-20 16:39 Outdated note Alvaro Herrera <[email protected]>
@ 2006-10-21 17:15 ` Tom Lane <[email protected]>
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2006-10-21 17:15 UTC (permalink / raw)
To: Alvaro Herrera <[email protected]>; +Cc: pgsql-docs
Alvaro Herrera <[email protected]> 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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2006-10-21 17:15 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-10-20 16:39 Outdated note Alvaro Herrera <[email protected]>
2006-10-21 17:15 ` Tom Lane <[email protected]>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox