doc: fix wrong tag used in create sequence manual.
authorTatsuo Ishii <ishii@postgresql.org>
Tue, 16 Aug 2022 00:20:14 +0000 (09:20 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Tue, 16 Aug 2022 00:20:14 +0000 (09:20 +0900)
In ref/create_sequence.sgml <literal> tag was used for nextval function name.
This should have been <function> tag.

Author: Noboru Saito
Discussion: https://postgr.es/m/CAAM3qnJTDFFfRf5JHJ4AYrNcqXgMmj0pbH0%2Bvm%3DYva%2BpJyGymA%40mail.gmail.com
Backpatch-through: 10

doc/src/sgml/ref/create_sequence.sgml

index a84aa5bf56a27514f9bc8fe9a4ba3eb4bf52ffb0..34e9084b5ccbf888923e7813b9d98fdbd248a824 100644 (file)
@@ -310,7 +310,7 @@ SELECT * FROM <replaceable>name</replaceable>;
    session A might reserve values 1..10 and return
    <function>nextval</function>=1, then session B might reserve values
    11..20 and return <function>nextval</function>=11 before session A
-   has generated <literal>nextval</literal>=2.  Thus, with a
+   has generated <function>nextval</function>=2.  Thus, with a
    <replaceable class="parameter">cache</replaceable> setting of one
    it is safe to assume that <function>nextval</function> values are generated
    sequentially; with a <replaceable