projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fc1ac1
)
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:40 +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 0e89b768c5dbb836c0428a57658d521239767315..692b6fe2c433405ebeef99364e9705a6551d4415 100644
(file)
--- a/
doc/src/sgml/datatype.sgml
+++ b/
doc/src/sgml/datatype.sgml
@@
-1438,7
+1438,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>