projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b87e92
)
Doc: fix documentation example for bytea hex output format.
author
Tom Lane
Sat, 18 Mar 2023 20:11:22 +0000
(16:11 -0400)
committer
Tom Lane
Sat, 18 Mar 2023 20:11:35 +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 0258b192e0e4f18d3730efc45f841e78124d82a1..a903dcc3216144ab3ef32e6ab9bda75f6d33f1e6 100644
(file)
--- a/
doc/src/sgml/datatype.sgml
+++ b/
doc/src/sgml/datatype.sgml
@@
-1480,7
+1480,12
@@
SELECT b, char_length(b) FROM test2;
Example:
-SELECT '\xDEADBEEF';
+SET bytea_output = 'hex';
+
+SELECT '\xDEADBEEF'::bytea;
+ bytea
+------------
+ \xdeadbeef