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

Lines changed: 6 additions & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy