Skip to content

Commit 7b735f8

Browse files
committed
Doc: shorten JSON_SERIALIZE example to avoid a PDF build warning.
There's no particular reason why this example has to use a 3-element array rather than 2-element. Shortening it makes the result bytea narrow enough to not cause a margin overrun in A4 format.
1 parent 80c8772 commit 7b735f8

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

doc/src/sgml/func.sgml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19881,12 +19881,11 @@ SELECT JSON_SERIALIZE(JSON_SCALAR('foo'));
1988119881
"foo"
1988219882
(1 row)
1988319883

19884-
SELECT JSON_SERIALIZE('{"foo": "bar", "baz": [1, 2, 3]}' RETURNING bytea);
19885-
json_serialize
19886-
--------------------------------------------------------------------
19887-
\x7b22666f6f223a2022626172222c202262617a223a205b312c20322c20335d7d
19884+
SELECT JSON_SERIALIZE('{"foo": "bar", "baz": [1, 2]}' RETURNING bytea);
19885+
json_serialize
19886+
--------------------------------------------------------------
19887+
\x7b22666f6f223a2022626172222c202262617a223a205b312c20325d7d
1988819888
(1 row)
19889-
1989019889
</screen>
1989119890
</sect5>
1989219891
</sect4>

0 commit comments

Comments
 (0)