diff options
author | Bruce Momjian <bruce@momjian.us> | 2017-03-20 22:22:11 -0400 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2017-03-20 22:22:18 -0400 |
commit | 692ed0567d0a17013b8bc631ad6cab29470a944d (patch) | |
tree | 50fb72bbcbb9fbb5bfb9630ad733144ebcdfac5c | |
parent | 8bc40533d61da972df63c0960965044dc485b147 (diff) | |
download | postgresql-692ed0567d0a17013b8bc631ad6cab29470a944d.tar.gz postgresql-692ed0567d0a17013b8bc631ad6cab29470a944d.zip |
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
-rw-r--r-- | doc/src/sgml/datatype.sgml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/datatype.sgml b/doc/src/sgml/datatype.sgml index e2f8dee7b66..7a546a0399b 100644 --- a/doc/src/sgml/datatype.sgml +++ b/doc/src/sgml/datatype.sgml @@ -756,7 +756,7 @@ FROM generate_series(-3.5, 3.5, 1) as x; floating-point arithmetic does not follow IEEE 754, these values will probably not work as expected.) When writing these values as constants in an SQL command, you must put quotes around them, - for example <literal>UPDATE table SET x = 'Infinity'</>. On input, + for example <literal>UPDATE table SET x = '-Infinity'</>. On input, these strings are recognized in a case-insensitive manner. </para> |