diff options
author | Tom Lane | 2022-04-09 19:09:38 +0000 |
---|---|---|
committer | Tom Lane | 2022-04-09 19:09:38 +0000 |
commit | 7b735f8b52ad4ccf742c29dc41e3d049bdffe2fa (patch) | |
tree | e1c4ced40266ab8c2790f6b88cce58a3dc8d5730 | |
parent | 80c877271a61bd11d6a2ff9a37f1f414a1b082ab (diff) |
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.
-rw-r--r-- | doc/src/sgml/func.sgml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 5047e090db..2ecf0482d8 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -19881,12 +19881,11 @@ SELECT JSON_SERIALIZE(JSON_SCALAR('foo')); "foo" (1 row) -SELECT JSON_SERIALIZE('{"foo": "bar", "baz": [1, 2, 3]}' RETURNING bytea); - json_serialize --------------------------------------------------------------------- - \x7b22666f6f223a2022626172222c202262617a223a205b312c20322c20335d7d +SELECT JSON_SERIALIZE('{"foo": "bar", "baz": [1, 2]}' RETURNING bytea); + json_serialize +-------------------------------------------------------------- + \x7b22666f6f223a2022626172222c202262617a223a205b312c20325d7d (1 row) - </screen> </sect5> </sect4> |