projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e7c5b6
)
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:45 +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 2c2a6333adf998934956d54c91dfe6a3c8be9fd7..35f371ccca9b1babca83316b853b0ffb43685aaa 100644
(file)
--- a/
doc/src/sgml/datatype.sgml
+++ b/
doc/src/sgml/datatype.sgml
@@
-1395,7
+1395,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>