Skip to content

Commit 6fe6094

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 5fc1ac1 commit 6fe6094

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
@@ -1438,7 +1438,12 @@ SELECT b, char_length(b) FROM test2;
14381438
<para>
14391439
Example:
14401440
<programlisting>
1441-
SELECT '\xDEADBEEF';
1441+
SET bytea_output = 'hex';
1442+
1443+
SELECT '\xDEADBEEF'::bytea;
1444+
bytea
1445+
------------
1446+
\xdeadbeef
14421447
</programlisting>
14431448
</para>
14441449
</sect2>

0 commit comments

Comments
 (0)