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

Commit80cd99c

Browse files
committed
Doc: fix a couple of erroneous examples.
The example given for anyelement <@ anymultirange didn't returntrue as claimed; adjust it so it does.In passing, change a couple of sample results where the modernnumeric-based logic produces a different number of trailing zeroesthan before.Erik RijkersDiscussion:https://postgr.es/m/cc35735d-1ec1-5bb3-9e27-cddbab7afa23@xs4all.nl
1 parentf2a0060 commit80cd99c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎doc/src/sgml/func.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,7 +1046,7 @@ repeat('Pg', 4) <returnvalue>PgPgPgPg</returnvalue>
10461046
</para>
10471047
<para>
10481048
<literal>@ -5.0</literal>
1049-
<returnvalue>5</returnvalue>
1049+
<returnvalue>5.0</returnvalue>
10501050
</para></entry>
10511051
</row>
10521052

@@ -1463,7 +1463,7 @@ repeat('Pg', 4) <returnvalue>PgPgPgPg</returnvalue>
14631463
</para>
14641464
<para>
14651465
<literal>log(2.0, 64.0)</literal>
1466-
<returnvalue>6.0000000000</returnvalue>
1466+
<returnvalue>6.0000000000000000</returnvalue>
14671467
</para></entry>
14681468
</row>
14691469

@@ -18536,7 +18536,7 @@ SELECT NULLIF(value, '(none)') ...
1853618536
Is the element contained by the multirange?
1853718537
</para>
1853818538
<para>
18539-
<literal>42 &lt;@ '{[1,7)}'::int4multirange</literal>
18539+
<literal>4 &lt;@ '{[1,7)}'::int4multirange</literal>
1854018540
<returnvalue>t</returnvalue>
1854118541
</para></entry>
1854218542
</row>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp