8000 Doc: fix documentation example for bytea hex output format. · postgres/postgres@4af2595 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4af2595

Browse files
committed
Doc: fix documentation example for bytea hex output format.
Per report from rsindlin Discussion: https://postgr.es/m/167907221210.1803488.5939223864945604536@wrigleys.postgresql.org
1 parent 012ffb3 commit 4af2595

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

doc/src/sgml/datatype.sgml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1356,7 +1356,12 @@ SELECT b, char_length(b) FROM test2;
13561356
<para>
13571357
Example:
13581358
<programlisting>
1359-
SELECT '\xDEADBEEF';
1359+
SET bytea_output = 'hex';
1360+
1361+
SELECT '\xDEADBEEF'::bytea;
1362+
bytea
1363+
------------
1364+
\xdeadbeef
13601365
</programlisting>
13611366
</para>
13621367
</sect2>

0 commit comments

Comments
 (0)
0