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

Commit11a9319

Browse files
author
Thomas G. Lockhart
committed
Minor fixups for markup and wording.
1 parentb5c4304 commit11a9319

File tree

2 files changed

+16
-14
lines changed

2 files changed

+16
-14
lines changed

‎doc/src/sgml/ref/create_sequence.sgml

Lines changed: 8 additions & 9 deletions
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.11 1999/07/22 15:09:08 thomas Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_sequence.sgml,v 1.12 2000/05/08 16:19:56 thomas Exp $
33
Postgres documentation
44
-->
55

@@ -210,7 +210,7 @@ ERROR: DefineSequence: MINVALUE (<replaceable class="parameter">min</replaceabl
210210
</title>
211211
<para>
212212
<command>CREATE SEQUENCE</command> will enter a new sequence number generator
213-
into the current data base. This involves creating andinitialising a
213+
into the current data base. This involves creating andinitializing a
214214
new single-row
215215
table with the name <replaceable class="parameter">seqname</replaceable>.
216216
The generator will be "owned" by the user issuing the command.
@@ -238,20 +238,19 @@ ERROR: DefineSequence: MINVALUE (<replaceable class="parameter">min</replaceabl
238238
Use a query like
239239

240240
<programlisting>
241-
SELECT * FROMsequence_name;
241+
SELECT * FROM<replaceable>seqname</replaceable>;
242242
</programlisting>
243243

244244
to get the parameters of a sequence.
245245

246-
Aside fromfetching the original
247-
parameters, you can use
246+
As an alternative tofetching the
247+
parameters from the original definition as above, you can use
248248

249249
<programlisting>
250-
SELECT last_value FROMsequence_name;
250+
SELECT last_value FROM<replaceable>seqname</replaceable>;
251251
</programlisting>
252252

253253
to obtain the last value allocated by any backend.
254-
parameters, you can use
255254
</para>
256255

257256
<para>
@@ -263,7 +262,7 @@ SELECT last_value FROM sequence_name;
263262
<para>
264263
Unexpected results may be obtained if a cache setting greater than one
265264
is used for a sequence object that will be used concurrently by multiple
266-
backends. Each backend will allocate"cache" successive sequence values
265+
backends. Each backend will allocateandcache successive sequence values
267266
during one access to the sequence object and increase the sequence
268267
object's last_value accordingly. Then, the next cache-1 uses of nextval
269268
within that backend simply return the preallocated values without touching
@@ -291,7 +290,7 @@ SELECT last_value FROM sequence_name;
291290
Notes
292291
</title>
293292
<para>
294-
Refer to the<command>DROP SEQUENCE</command> statement to remove a sequence.
293+
Use<command>DROP SEQUENCE</command> to remove a sequence.
295294
</para>
296295
<para>
297296
Each backend uses its own cache to store allocated numbers.

‎doc/src/sgml/ref/postgres-ref.sgml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/postgres-ref.sgml,v 1.8 2000/05/03 07:33:44 inoue Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/postgres-ref.sgml,v 1.9 2000/05/08 16:19:56 thomas Exp $
33
Postgres documentation
44
-->
55

@@ -125,7 +125,8 @@ postgres [ -B <replaceable class="parameter">nBuffers</replaceable> ] [ -C ] [ -
125125
<listitem>
126126
<para>
127127
Override restrictions, so system table structures can be modified.
128-
These tables are typically those with a leading "pg_" in the table name.
128+
These tables are typically those with a leading
129+
"<literal>pg_</literal>" in the table name.
129130
</para>
130131
</listitem>
131132
</varlistentry>
@@ -134,9 +135,11 @@ postgres [ -B <replaceable class="parameter">nBuffers</replaceable> ] [ -C ] [ -
134135
<term>-P</term>
135136
<listitem>
136137
<para>
137-
Ignore system indexes to scan/update system tuples. Reindex command
138-
for system table/indexes requires this option. System tables are
139-
typically those with a leading "pg_" in the table name.
138+
Ignore system indexes to scan/update system
139+
tuples. <command>REINDEX</command> for system tables/indexes
140+
requires this option. System tables are
141+
typically those with a leading "<literal>pg_</literal>" in the
142+
table name.
140143
</para>
141144
</listitem>
142145
</varlistentry>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp