Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
b9cd4c83
Commit
b9cd4c83
authored
23 years ago
by
Tom Lane
Browse files
Options
Downloads
Patches
Plain Diff
Grammatical corrections.
parent
96ca8ffe
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/src/sgml/datatype.sgml
+11
-6
11 additions, 6 deletions
doc/src/sgml/datatype.sgml
with
11 additions
and
6 deletions
doc/src/sgml/datatype.sgml
+
11
−
6
View file @
b9cd4c83
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/datatype.sgml,v 1.6
6
2001/10/
09 18:45:59 petere
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/datatype.sgml,v 1.6
7
2001/10/
30 20:13:44 tgl
Exp $
-->
-->
<chapter id="datatype">
<chapter id="datatype">
...
@@ -623,6 +623,10 @@ NUMERIC
...
@@ -623,6 +623,10 @@ NUMERIC
<primary>serial</primary>
<primary>serial</primary>
</indexterm>
</indexterm>
<indexterm zone="datatype-serial">
<primary>bigserial</primary>
</indexterm>
<indexterm zone="datatype-serial">
<indexterm zone="datatype-serial">
<primary>serial4</primary>
<primary>serial4</primary>
</indexterm>
</indexterm>
...
@@ -679,14 +683,14 @@ CREATE TABLE <replaceable class="parameter">tablename</replaceable> (
...
@@ -679,14 +683,14 @@ CREATE TABLE <replaceable class="parameter">tablename</replaceable> (
<para>
<para>
The type names <type>serial</type> and <type>serial4</type> are
The type names <type>serial</type> and <type>serial4</type> are
equivalent: both create <type>integer</type> columns. The type
equivalent: both create <type>integer</type> columns. The type
names <type>bigserial</type> and <type>serial8</type> work
s
just
names <type>bigserial</type> and <type>serial8</type> work just
the same way, except that
i
t create
s
a <type>bigint</type>
the same way, except that t
hey
create a <type>bigint</type>
column. <type>serial
8
</type> should be used if you anticipate
column. <type>
big
serial</type> should be used if you anticipate
use of more than 2^31 identifiers over the lifetime of the table.
use of more than 2^31 identifiers over the lifetime of the table.
</para>
</para>
<para>
<para>
Implicit sequences supporting the <type>serial</type> are
Implicit sequences supporting the <type>serial</type>
types
are
not automatically dropped when a table containing a serial type
not automatically dropped when a table containing a serial type
is dropped. So, the following commands executed in order will likely fail:
is dropped. So, the following commands executed in order will likely fail:
...
@@ -697,7 +701,8 @@ CREATE TABLE <replaceable class="parameter">tablename</replaceable> (<replaceabl
...
@@ -697,7 +701,8 @@ CREATE TABLE <replaceable class="parameter">tablename</replaceable> (<replaceabl
</programlisting>
</programlisting>
The sequence will remain in the database until explicitly dropped using
The sequence will remain in the database until explicitly dropped using
<command>DROP SEQUENCE</command>.
<command>DROP SEQUENCE</command>. (This annoyance will probably be
changed in some future release.)
</para>
</para>
</sect2>
</sect2>
</sect1>
</sect1>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment