diff options
author | Bruce Momjian <bruce@momjian.us> | 2007-01-30 22:29:40 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2007-01-30 22:29:40 +0000 |
commit | e2d68988276df0b1528e1a29e163f2024bce7829 (patch) | |
tree | de8319b6da5239757515f71fe8dd66b9f53b29db /doc/src/sgml/plperl.sgml | |
parent | 08c17d6e56552a0f97f9f7ad68f2435f73f48f85 (diff) | |
download | postgresql-e2d68988276df0b1528e1a29e163f2024bce7829.tar.gz postgresql-e2d68988276df0b1528e1a29e163f2024bce7829.zip |
Update documentation for backslashes to mention escape string syntax
more, and standard_conforming_strings less, because in the future non-E
strings will not treat backslashes specially.
Also use E'' strings where backslashes are used in examples. (The
existing examples would have drawn warnings.)
Backpatch to 8.2.X.
Diffstat (limited to 'doc/src/sgml/plperl.sgml')
-rw-r--r-- | doc/src/sgml/plperl.sgml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/src/sgml/plperl.sgml b/doc/src/sgml/plperl.sgml index a94163e7be6..eab66860ed7 100644 --- a/doc/src/sgml/plperl.sgml +++ b/doc/src/sgml/plperl.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/plperl.sgml,v 2.59 2006/11/13 17:13:56 adunstan Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/plperl.sgml,v 2.59.2.1 2007/01/30 22:29:40 momjian Exp $ --> <chapter id="plperl"> <title>PL/Perl - Perl Procedural Language</title> @@ -80,10 +80,10 @@ $$ LANGUAGE plperl; the function body to be written as a string constant. It is usually most convenient to use dollar quoting (see <xref linkend="sql-syntax-dollar-quoting">) for the string constant. - If you choose to use regular single-quoted string constant syntax, - you must escape single quote marks (<literal>'</>) and backslashes - (<literal>\</>) used in the body of the function, typically by - doubling them (see <xref linkend="sql-syntax-strings">). + If you choose to use escape string syntax <literal>E''</>, + you must double the single quote marks (<literal>'</>) and backslashes + (<literal>\</>) used in the body of the function + (see <xref linkend="sql-syntax-strings">). </para> <para> |