Doc: fix documentation example for bytea hex output format.
Per report from rsindlin Discussion: https://postgr.es/m/167907221210.1803488.5939223864945604536@wrigleys.postgresql.org
This commit is contained in:
parent
5fc1ac151d
commit
6fe609496b
@ -1438,7 +1438,12 @@ SELECT b, char_length(b) FROM test2;
|
|||||||
<para>
|
<para>
|
||||||
Example:
|
Example:
|
||||||
<programlisting>
|
<programlisting>
|
||||||
SELECT '\xDEADBEEF';
|
SET bytea_output = 'hex';
|
||||||
|
|
||||||
|
SELECT '\xDEADBEEF'::bytea;
|
||||||
|
bytea
|
||||||
|
------------
|
||||||
|
\xdeadbeef
|
||||||
</programlisting>
|
</programlisting>
|
||||||
</para>
|
</para>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user