summaryrefslogtreecommitdiff
path: root/doc/src/sgml/lobj.sgml
diff options
context:
space:
mode:
authorBruce Momjian2018-09-21 23:55:07 +0000
committerBruce Momjian2018-09-21 23:55:07 +0000
commitf77de4b0c0ad8c351223929b6fb3ee5c300a9979 (patch)
tree99ab5172e9aee863e62f32bc7d8bd0c6700da8c8 /doc/src/sgml/lobj.sgml
parente8fe426baa9c242d8dbd4eab1d963e952c9172f4 (diff)
docs: remove use of escape strings and use bytea hex output
standard_conforming_strings defaulted to 'on' in PG 9.1. bytea_output defaulted to 'hex' in PG 9.0. Reported-by: André Hänsel Discussion: https://postgr.es/m/[email protected] Backpatch-through: 9.3
Diffstat (limited to 'doc/src/sgml/lobj.sgml')
-rw-r--r--doc/src/sgml/lobj.sgml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/lobj.sgml b/doc/src/sgml/lobj.sgml
index f56aeebddb2..7a9af9c31e6 100644
--- a/doc/src/sgml/lobj.sgml
+++ b/doc/src/sgml/lobj.sgml
@@ -568,7 +568,7 @@ int lo_unlink(PGconn *conn, Oid lobjId);
Create a large object and store data there, returning its OID.
Pass <literal>0</literal> to have the system choose an OID.
</entry>
- <entry><literal>lo_from_bytea(0, E'\\xffffff00')</literal></entry>
+ <entry><literal>lo_from_bytea(0, '\xffffff00')</literal></entry>
<entry><literal>24528</literal></entry>
</row>
@@ -583,7 +583,7 @@ int lo_unlink(PGconn *conn, Oid lobjId);
<entry>
Write data at the given offset.
</entry>
- <entry><literal>lo_put(24528, 1, E'\\xaa')</literal></entry>
+ <entry><literal>lo_put(24528, 1, '\xaa')</literal></entry>
<entry></entry>
</row>