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:
Tom Lane 2023-03-18 16:11:22 -04:00
parent 012ffb365a
commit 4af259543b
1 changed files with 6 additions and 1 deletions

View File

@ -1356,7 +1356,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>