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
11a93191
Commit
11a93191
authored
25 years ago
by
Thomas G. Lockhart
Browse files
Options
Downloads
Patches
Plain Diff
Minor fixups for markup and wording.
parent
b5c43046
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/src/sgml/ref/create_sequence.sgml
+8
-9
8 additions, 9 deletions
doc/src/sgml/ref/create_sequence.sgml
doc/src/sgml/ref/postgres-ref.sgml
+8
-5
8 additions, 5 deletions
doc/src/sgml/ref/postgres-ref.sgml
with
16 additions
and
14 deletions
doc/src/sgml/ref/create_sequence.sgml
+
8
−
9
View file @
11a93191
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_sequence.sgml,v 1.1
1 1999/07/22 15:09:08
thomas Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_sequence.sgml,v 1.1
2 2000/05/08 16:19:56
thomas Exp $
Postgres documentation
Postgres documentation
-->
-->
...
@@ -210,7 +210,7 @@ ERROR: DefineSequence: MINVALUE (<replaceable class="parameter">min</replaceabl
...
@@ -210,7 +210,7 @@ ERROR: DefineSequence: MINVALUE (<replaceable class="parameter">min</replaceabl
</title>
</title>
<para>
<para>
<command>CREATE SEQUENCE</command> will enter a new sequence number generator
<command>CREATE SEQUENCE</command> will enter a new sequence number generator
into the current data base. This involves creating and initiali
s
ing a
into the current data base. This involves creating and initiali
z
ing a
new single-row
new single-row
table with the name <replaceable class="parameter">seqname</replaceable>.
table with the name <replaceable class="parameter">seqname</replaceable>.
The generator will be "owned" by the user issuing the command.
The generator will be "owned" by the user issuing the command.
...
@@ -238,20 +238,19 @@ ERROR: DefineSequence: MINVALUE (<replaceable class="parameter">min</replaceabl
...
@@ -238,20 +238,19 @@ ERROR: DefineSequence: MINVALUE (<replaceable class="parameter">min</replaceabl
Use a query like
Use a query like
<programlisting>
<programlisting>
SELECT * FROM
sequence_name
;
SELECT * FROM
<replaceable>seqname</replaceable>
;
</programlisting>
</programlisting>
to get the parameters of a sequence.
to get the parameters of a sequence.
As
ide from
fetching the
original
As
an alternative to
fetching the
parameters, you can use
parameters
from the original definition as above
, you can use
<programlisting>
<programlisting>
SELECT last_value FROM
sequence_name
;
SELECT last_value FROM
<replaceable>seqname</replaceable>
;
</programlisting>
</programlisting>
to obtain the last value allocated by any backend.
to obtain the last value allocated by any backend.
parameters, you can use
</para>
</para>
<para>
<para>
...
@@ -263,7 +262,7 @@ SELECT last_value FROM sequence_name;
...
@@ -263,7 +262,7 @@ SELECT last_value FROM sequence_name;
<para>
<para>
Unexpected results may be obtained if a cache setting greater than one
Unexpected results may be obtained if a cache setting greater than one
is used for a sequence object that will be used concurrently by multiple
is used for a sequence object that will be used concurrently by multiple
backends. Each backend will allocate
"
cache
"
successive sequence values
backends. Each backend will allocate
and
cache successive sequence values
during one access to the sequence object and increase the sequence
during one access to the sequence object and increase the sequence
object's last_value accordingly. Then, the next cache-1 uses of nextval
object's last_value accordingly. Then, the next cache-1 uses of nextval
within that backend simply return the preallocated values without touching
within that backend simply return the preallocated values without touching
...
@@ -291,7 +290,7 @@ SELECT last_value FROM sequence_name;
...
@@ -291,7 +290,7 @@ SELECT last_value FROM sequence_name;
Notes
Notes
</title>
</title>
<para>
<para>
Refer to th
e <command>DROP SEQUENCE</command>
statement
to remove a sequence.
Us
e <command>DROP SEQUENCE</command> to remove a sequence.
</para>
</para>
<para>
<para>
Each backend uses its own cache to store allocated numbers.
Each backend uses its own cache to store allocated numbers.
...
...
This diff is collapsed.
Click to expand it.
doc/src/sgml/ref/postgres-ref.sgml
+
8
−
5
View file @
11a93191
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/postgres-ref.sgml,v 1.
8
2000/05/0
3 07:33:44 inoue
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/postgres-ref.sgml,v 1.
9
2000/05/0
8 16:19:56 thomas
Exp $
Postgres documentation
Postgres documentation
-->
-->
...
@@ -125,7 +125,8 @@ postgres [ -B <replaceable class="parameter">nBuffers</replaceable> ] [ -C ] [ -
...
@@ -125,7 +125,8 @@ postgres [ -B <replaceable class="parameter">nBuffers</replaceable> ] [ -C ] [ -
<listitem>
<listitem>
<para>
<para>
Override restrictions, so system table structures can be modified.
Override restrictions, so system table structures can be modified.
These tables are typically those with a leading "pg_" in the table name.
These tables are typically those with a leading
"<literal>pg_</literal>" in the table name.
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
...
@@ -134,9 +135,11 @@ postgres [ -B <replaceable class="parameter">nBuffers</replaceable> ] [ -C ] [ -
...
@@ -134,9 +135,11 @@ postgres [ -B <replaceable class="parameter">nBuffers</replaceable> ] [ -C ] [ -
<term>-P</term>
<term>-P</term>
<listitem>
<listitem>
<para>
<para>
Ignore system indexes to scan/update system tuples. Reindex command
Ignore system indexes to scan/update system
for system table/indexes requires this option. System tables are
tuples. <command>REINDEX</command> for system tables/indexes
typically those with a leading "pg_" in the table name.
requires this option. System tables are
typically those with a leading "<literal>pg_</literal>" in the
table name.
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
...
...
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