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 75bd846b68
commit 4f46f870fa
1 changed files with 6 additions and 1 deletions

View File

@ -1493,7 +1493,12 @@ SELECT b, char_length(b) FROM test2;
<para>
Example:
<programlisting>
SELECT '\xDEADBEEF';
SET bytea_output = 'hex';
SELECT '\xDEADBEEF'::bytea;
bytea
------------
\xdeadbeef
</programlisting>
</para>
</sect2>