Content-Length: 256351 | pFad | http://github.com/postgrespro/postgres/commit/692ed0567d0a17013b8bc631ad6cab29470a944d

6A doc: adjust 'Infinity' example to include minus · postgrespro/postgres@692ed05 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/692ed0567d0a17013b8bc631ad6cab29470a944d

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy