diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2011-07-07 19:34:19 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2011-07-07 19:34:19 -0400 |
commit | c59b8ba6cd48e0fc0c1be8d86d4a19e7bf37d7e0 (patch) | |
tree | 9d2f185942c0076ae06a20a3dc958a9ce2430712 /src/backend/utils/adt/ruleutils.c | |
parent | 997d5b488a9a580ef853256e188975f7ac05fb75 (diff) | |
download | postgresql-c59b8ba6cd48e0fc0c1be8d86d4a19e7bf37d7e0.tar.gz postgresql-c59b8ba6cd48e0fc0c1be8d86d4a19e7bf37d7e0.zip |
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.
Diffstat (limited to 'src/backend/utils/adt/ruleutils.c')
0 files changed, 0 insertions, 0 deletions