Commit 692ed056 authored by Bruce Momjian's avatar Bruce Momjian

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
parent 8bc40533
...@@ -756,7 +756,7 @@ FROM generate_series(-3.5, 3.5, 1) as x; ...@@ -756,7 +756,7 @@ FROM generate_series(-3.5, 3.5, 1) as x;
floating-point arithmetic does not follow IEEE 754, these values floating-point arithmetic does not follow IEEE 754, these values
will probably not work as expected.) When writing these values will probably not work as expected.) When writing these values
as constants in an SQL command, you must put quotes around them, 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. these strings are recognized in a case-insensitive manner.
</para> </para>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment