Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4f46f87

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 75bd846 commit 4f46f87

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

doc/src/sgml/datatype.sgml

+6-1
Original file line numberDiff line numberDiff line change
@@ -1493,7 +1493,12 @@ SELECT b, char_length(b) FROM test2;
14931493
<para>
14941494
Example:
14951495
<programlisting>
1496-
SELECT '\xDEADBEEF';
1496+
SET bytea_output = 'hex';
1497+
1498+
SELECT '\xDEADBEEF'::bytea;
1499+
bytea
1500+
------------
1501+
\xdeadbeef
14971502
</programlisting>
14981503
</para>
14991504
</sect2>

0 commit comments

Comments
 (0)