From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Update examples for string-related functions. |
Date: | 2011-07-07 23:36:14 |
Message-ID: | E1Qey7C-0004CE-H3@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Update examples for string-related functions.
In the example for decode(), show the bytea result in hex format,
since that's now the default. Use an E'' string in the example for
quote_literal(), so that it works regardless of the
standard_conforming_strings setting. On the functions-for-binary-strings
page, leave the examples as-is for readability, but add a note pointing out
that they are shown in escape format. Per comments from Thom Brown.
Also, improve the description for encode() and decode() a tad.
Backpatch to 9.0, where bytea_output was introduced.
Branch
------
REL9_0_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/d1ca2a1ee93916d69836d7a1924aa7601bcfb635
Modified Files
--------------
doc/src/sgml/func.sgml | 26 +++++++++++++++++---------
1 files changed, 17 insertions(+), 9 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2011-07-08 00:13:32 | pgsql: Tag 9.1beta3. |
Previous Message | Tom Lane | 2011-07-07 21:56:51 | pgsql: Update 9.1 release notes to reflect commits through today. |