Only one nextval tag is different
Only one nextval tag is different
Hello, I am a member of the PostgreSQL documentation Japanese translation team.
I noticed that the nextval tag in ref/create_sequence.sgml is different.
Is this just a mistake?
diff --git a/doc/src/sgml/ref/create_sequence.sgml
b/doc/src/sgml/ref/create_sequence.sgml
index a84aa5bf56..34e9084b5c 100644
--- a/doc/src/sgml/ref/create_sequence.sgml
+++ b/doc/src/sgml/ref/create_sequence.sgml
@@ -303,21 +303,21 @@ SELECT * FROM name;
Furthermore, although multiple sessions are guaranteed to allocate
distinct sequence values, the values might be generated out of
sequence when all the sessions are considered. For example, with
a cache setting of 10,
session A might reserve values 1..10 and return
nextval=1, then session B might reserve values
11..20 and return nextval=11 before session A
- has generated nextval=2. Thus, with a
+ has generated nextval=2. Thus, with a
cache setting of one
it is safe to assume that nextval values are generated
sequentially; with a cache setting greater than one you
should only assume that the nextval values are all
distinct, not that they are generated purely sequentially. Also,
last_value will reflect the latest value reserved by
any session, whether or not it has yet been returned by
nextval.
Re: Only one nextval tag is different
От:
Tatsuo Ishii <ishii@sraoss.co.jp>
Дата:
Yes, it seems using tag for nextval is plain wrong because nextval is a function name. Moreover in other places tags are used and using tag here looks inconsistent. Best reagards, -- Tatsuo Ishii SRA OSS LLC English: http://www.sraoss.co.jp/index_en.php Japanese:http://www.sraoss.co.jp > Hello, I am a member of the PostgreSQL documentation Japanese translation team. > > I noticed that the nextval tag in ref/create_sequence.sgml is different. > Is this just a mistake? > > diff --git a/doc/src/sgml/ref/create_sequence.sgml > b/doc/src/sgml/ref/create_sequence.sgml > index a84aa5bf56..34e9084b5c 100644 > --- a/doc/src/sgml/ref/create_sequence.sgml > +++ b/doc/src/sgml/ref/create_sequence.sgml > @@ -303,21 +303,21 @@ SELECT * FROM name; > > > > Furthermore, although multiple sessions are guaranteed to allocate > distinct sequence values, the values might be generated out of > sequence when all the sessions are considered. For example, with > a cache setting of 10, > session A might reserve values 1..10 and return > nextval=1, then session B might reserve values > 11..20 and return nextval=11 before session A > - has generated nextval=2. Thus, with a > + has generated nextval=2. Thus, with a > cache setting of one > it is safe to assume that nextval values are generated > sequentially; with a class="parameter">cache setting greater than one you > should only assume that the nextval values are all > distinct, not that they are generated purely sequentially. Also, > last_value will reflect the latest value reserved by > any session, whether or not it has yet been returned by > nextval. >
Re: Only one nextval tag is different
От:
Tatsuo Ishii <ishii@sraoss.co.jp>
Дата:
>> Hello, I am a member of the PostgreSQL documentation Japanese translation team. >> >> I noticed that the nextval tag in ref/create_sequence.sgml is different. >> Is this just a mistake? Patch pushed to all supported branches. Thanks! -- Tatsuo Ishii SRA OSS LLC English: http://www.sraoss.co.jp/index_en.php Japanese:http://www.sraoss.co.jp
Re: Only one nextval tag is different
От:
Noboru Saito <noborusai@gmail.com>
Дата:
Thank you!
2022年8月16日(火) 9:40 Tatsuo Ishii <ishii@sraoss.co.jp>:
>> Hello, I am a member of the PostgreSQL documentation Japanese translation team.
>>
>> I noticed that the nextval tag in ref/create_sequence.sgml is different.
>> Is this just a mistake?
Patch pushed to all supported branches.
Thanks!
--
Tatsuo Ishii
SRA OSS LLC
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp