Skip to content

Commit 692ed05

Browse files
committed
doc: adjust 'Infinity' example to include minus
This clarifies that quoted infinity values must have the negative signs inside single quotes. Reported-by: Don Morrison
1 parent 8bc4053 commit 692ed05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/sgml/datatype.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@ FROM generate_series(-3.5, 3.5, 1) as x;
756756
floating-point arithmetic does not follow IEEE 754, these values
757757
will probably not work as expected.) When writing these values
758758
as constants in an SQL command, you must put quotes around them,
759-
for example <literal>UPDATE table SET x = 'Infinity'</>. On input,
759+
for example <literal>UPDATE table SET x = '-Infinity'</>. On input,
760760
these strings are recognized in a case-insensitive manner.
761761
</para>
762762

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