1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

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

View File

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