Skip to content

Commit 77c1537

Browse files
committed
doc: Fix some markups for support functions of index AMs
All the documentation of index AMs has been using <replaceable> for local_relopts. This is a structure, so <structname> is a much better choice. Alexander has found the inconsistency for btree, while I have spotted the rest when applying the concept of consistency to the docs. Author: Alexander Lakhin, Michael Paquier Reviewed-by: Tom Lane Discussion: https://postgr.es/m/20200822133022.GC24782@paquier.xyz
1 parent a3c66de commit 77c1537

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

doc/src/sgml/brin.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ typedef struct BrinOpcInfo
576576

577577
<para>
578578
The <function>options</function> function is passed a pointer to a
579-
<replaceable>local_relopts</replaceable> struct, which needs to be
579+
<structname>local_relopts</structname> struct, which needs to be
580580
filled with a set of operator class specific options. The options
581581
can be accessed from other support functions using the
582582
<literal>PG_HAS_OPCLASS_OPTIONS()</literal> and

doc/src/sgml/btree.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ equalimage(<replaceable>opcintype</replaceable> <type>oid</type>) returns bool
566566
<synopsis>
567567
options(<replaceable>relopts</replaceable> <type>local_relopts *</type>) returns void
568568
</synopsis>
569-
The function is passed a pointer to a <replaceable>local_relopts</replaceable>
569+
The function is passed a pointer to a <structname>local_relopts</structname>
570570
struct, which needs to be filled with a set of operator class
571571
specific options. The options can be accessed from other support
572572
functions using the <literal>PG_HAS_OPCLASS_OPTIONS()</literal> and

doc/src/sgml/gin.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@
412412

413413
<para>
414414
The <function>options</function> function is passed a pointer to a
415-
<replaceable>local_relopts</replaceable> struct, which needs to be
415+
<structname>local_relopts</structname> struct, which needs to be
416416
filled with a set of operator class specific options. The options
417417
can be accessed from other support functions using the
418418
<literal>PG_HAS_OPCLASS_OPTIONS()</literal> and

doc/src/sgml/gist.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -962,7 +962,7 @@ LANGUAGE C STRICT;
962962
</para>
963963

964964
<para>
965-
The function is passed a pointer to a <replaceable>local_relopts</replaceable>
965+
The function is passed a pointer to a <structname>local_relopts</structname>
966966
struct, which needs to be filled with a set of operator class
967967
specific options. The options can be accessed from other support
968968
functions using the <literal>PG_HAS_OPCLASS_OPTIONS()</literal> and

doc/src/sgml/spgist.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,7 @@ LANGUAGE C STRICT;
897897
</para>
898898

899899
<para>
900-
The function is passed a pointer to a <replaceable>local_relopts</replaceable>
900+
The function is passed a pointer to a <structname>local_relopts</structname>
901901
struct, which needs to be filled with a set of operator class
902902
specific options. The options can be accessed from other support
903903
functions using the <literal>PG_HAS_OPCLASS_OPTIONS()</literal> and

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy