Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd2f6082

Browse files
committed
Point out the dependency on having int8 arithmetic available.
1 parent9775cb9 commitd2f6082

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)

[8]ページ先頭

©2009-2025 Movatter.jp