Skip to content

Commit d28f441

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 7e7c5b6 commit d28f441

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
@@ -1395,7 +1395,12 @@ SELECT b, char_length(b) FROM test2;
13951395
<para>
13961396
Example:
13971397
<programlisting>
1398-
SELECT '\xDEADBEEF';
1398+
SET bytea_output = 'hex';
1399+
1400+
SELECT '\xDEADBEEF'::bytea;
1401+
bytea
1402+
------------
1403+
\xdeadbeef
13991404
</programlisting>
14001405
</para>
14011406
</sect2>

0 commit comments

Comments
 (0)