projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
012ffb3
)
Doc: fix documentation example for bytea hex output format.
author
Tom Lane
<
[email protected]
>
Sat, 18 Mar 2023 20:11:22 +0000
(16:11 -0400)
committer
Tom Lane
<
[email protected]
>
Sat, 18 Mar 2023 20:11:54 +0000
(16:11 -0400)
Per report from rsindlin
Discussion: https://postgr.es/m/
167907221210
.
1803488
.
5939223864945604536
@wrigleys.postgresql.org
doc/src/sgml/datatype.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/datatype.sgml
b/doc/src/sgml/datatype.sgml
index bc48006505e35fc60ab070d1118e0f62c1d63fc8..05554202502ac540056fd7bf1a207a3942cb4e64 100644
(file)
--- a/
doc/src/sgml/datatype.sgml
+++ b/
doc/src/sgml/datatype.sgml
@@
-1356,7
+1356,12
@@
SELECT b, char_length(b) FROM test2;
<para>
Example:
<programlisting>
-SELECT '\xDEADBEEF';
+SET bytea_output = 'hex';
+
+SELECT '\xDEADBEEF'::bytea;
+ bytea
+------------
+ \xdeadbeef
</programlisting>
</para>
</sect2>