Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7b735f8

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 a3-element array rather than 2-element. Shortening it makesthe result bytea narrow enough to not cause a margin overrunin A4 format.
1 parent80c8772 commit7b735f8

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)

[8]ページ先頭

©2009-2025 Movatter.jp