Skip to content

Commit d2f6082

Browse files
committed
Point out the dependency on having int8 arithmetic available.
1 parent 9775cb9 commit d2f6082

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

doc/src/sgml/ref/create_sequence.sgml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_sequence.sgml,v 1.21 2001/11/17 22:20:34 tgl Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_sequence.sgml,v 1.22 2001/11/28 15:33:48 tgl Exp $
33
Postgres documentation
44
-->
55

@@ -287,9 +287,20 @@ SELECT * FROM <replaceable>seqname</replaceable>;
287287
<title>
288288
Notes
289289
</title>
290+
290291
<para>
291292
Use <command>DROP SEQUENCE</command> to remove a sequence.
292293
</para>
294+
295+
<para>
296+
Sequences are based on <type>bigint</> arithmetic, so the range cannot
297+
exceed the range of an eight-byte integer
298+
(-9223372036854775808 to 9223372036854775807). On some older platforms,
299+
there may be no compiler support for eight-byte integers, in which case
300+
sequences use regular <type>integer</> arithmetic (range
301+
-2147483648 to +2147483647).
302+
</para>
303+
293304
<para>
294305
When <replaceable class="parameter">cache</replaceable> is greater than
295306
one, each backend uses its own cache to store preallocated numbers.

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