diff options
| author | Peter Eisentraut <peter_e@gmx.net> | 2017-01-23 14:00:58 -0500 |
|---|---|---|
| committer | Peter Eisentraut <peter_e@gmx.net> | 2017-01-23 14:00:58 -0500 |
| commit | 0bc1207aeb3de951bf95a9e9899b1256216d65f5 (patch) | |
| tree | d6b29dbd49dec2ec22b65f0324924843c6a9bc7d /doc/src | |
| parent | 46d482814cd4a9c474540a9c4f040ce1cd514f46 (diff) | |
Fix default minimum value for descending sequences
For some reason that is lost in history, a descending sequence would
default its minimum value to -2^63+1 (-PG_INT64_MAX) instead of
-2^63 (PG_INT64_MIN), even though explicitly specifying a minimum value
of -2^63 would work. Fix this inconsistency by using the full range by
default.
Reported-by: Daniel Verite <daniel@manitou-mail.org>
Reviewed-by: Michael Paquier <michael.paquier@gmail.com>
Diffstat (limited to 'doc/src')
| -rw-r--r-- | doc/src/sgml/ref/create_sequence.sgml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/create_sequence.sgml b/doc/src/sgml/ref/create_sequence.sgml index 62ae3792267..86ff018c4ba 100644 --- a/doc/src/sgml/ref/create_sequence.sgml +++ b/doc/src/sgml/ref/create_sequence.sgml @@ -133,7 +133,7 @@ SELECT * FROM <replaceable>name</replaceable>; the minimum value a sequence can generate. If this clause is not supplied or <option>NO MINVALUE</option> is specified, then defaults will be used. The defaults are 1 and - -2<superscript>63</>-1 for ascending and descending sequences, + -2<superscript>63</> for ascending and descending sequences, respectively. </para> </listitem> |
