summaryrefslogtreecommitdiff
path: root/doc/src/sgml/func/func-sequence.sgml
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2025-11-18 03:48:00 +0000
committerAmit Kapila <akapila@postgresql.org>2025-11-18 03:48:00 +0000
commitc677f2b09f24a1a92789bcbc0ee6599cfd034f27 (patch)
treee9d0313dbc688c5cdc7fb3277054cf3abbcd0d8c /doc/src/sgml/func/func-sequence.sgml
parent792353f7d520482414e3bb5e44ed344cf78b54c6 (diff)
Doc: Use <structfield> markup for sequence fields.
Following commit 980a855c5c, update documentation to use <structfield> for sequence columns. Previously, these were incorrectly marked up as <literal>. Author: Peter Smith <smithpb2250@gmail.com> Reviewed-by: Chao Li <li.evan.chao@gmail.com> Discussion: https://postgr.es/m/CAHut+PtpDMUE3Kd1p=1ff9pw2HMbgQCpowE_0Hd6gs5v2pKfQg@mail.gmail.com
Diffstat (limited to 'doc/src/sgml/func/func-sequence.sgml')
-rw-r--r--doc/src/sgml/func/func-sequence.sgml8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/sgml/func/func-sequence.sgml b/doc/src/sgml/func/func-sequence.sgml
index e8d42b27c21..4a2a6dc9369 100644
--- a/doc/src/sgml/func/func-sequence.sgml
+++ b/doc/src/sgml/func/func-sequence.sgml
@@ -67,14 +67,14 @@
</para>
<para>
Sets the sequence object's current value, and optionally
- its <literal>is_called</literal> flag. The two-parameter
- form sets the sequence's <literal>last_value</literal> field to the
- specified value and sets its <literal>is_called</literal> field to
+ its <structfield>is_called</structfield> flag. The two-parameter
+ form sets the sequence's <structfield>last_value</structfield> field to the
+ specified value and sets its <structfield>is_called</structfield> field to
<literal>true</literal>, meaning that the next
<function>nextval</function> will advance the sequence before
returning a value. The value that will be reported
by <function>currval</function> is also set to the specified value.
- In the three-parameter form, <literal>is_called</literal> can be set
+ In the three-parameter form, <structfield>is_called</structfield> can be set
to either <literal>true</literal>
or <literal>false</literal>. <literal>true</literal> has the same
effect as the two-parameter form. If it is set