Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k9orF-0003ln-Fp for pgsql-docs@arkaria.postgresql.org; Sun, 23 Aug 2020 12:12:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k9orC-0006f7-MF for pgsql-docs@arkaria.postgresql.org; Sun, 23 Aug 2020 12:12:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k9orA-0006ez-Pj for pgsql-docs@lists.postgresql.org; Sun, 23 Aug 2020 12:12:18 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k9or2-0002pv-04 for pgsql-docs@postgresql.org; Sun, 23 Aug 2020 12:12:15 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 520E85C009B; Sun, 23 Aug 2020 08:12:05 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sun, 23 Aug 2020 08:12:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=LIyf2+JKag/jCaGZIAiOUCNintF dvXANqZ6qzVvdmFI=; b=QPClwuiQJpjt/SLXiraOcP2/QGD7mXUOqwE5FFNT4yF xl9owR7I+IKjNlXm/eCOOTJffbecgZ6yz/wxLAjWTcEq4KHsq5Zmd2WSoJ4tWYBh PU5ppPYw4ssCMOf15iZWc2rPjMyq+14dnxnvB4SJycIxX+eOgexb3qW9tjMQ79xb p6vaXNgJv/91yGveiyV3BgKSlvJ/eJKD7dvOxi6MOwnyfMIKhlSqOxdoo/i0iWLg SprOk/Dl3sP5b8W4djZQAP7fNa72oY2e8Z3v7mdR5l1Z1c8pE6D6yL3BlHFs/qIs ZhONTdYm1unp7qDtzpGTl1xE9Kr1edGJoeOw35NLO0g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=LIyf2+ JKag/jCaGZIAiOUCNintFdvXANqZ6qzVvdmFI=; b=QZnoBt9Tr7HTmYvK/l6H6J snv84maKqP/nbJklL22EgQ3kiUftD/2NAAu+e3S/x23w0tSjFW/IsdjBKLJCzGaR GFeX2EP/G2ED2uusiUSrQaGi6UpGR8W2/Y8Bw7stR3IqxBdVoQ7FgUEcGjHyn1Vg nvVP4TNdg+4xuVYn+RHSOdRH+60gE5xRFJHqN2BKOkKFIwjjyYSiDPzhDuvUu9hL 2fozKzajwmYWm50iLoy36aasS1+abHiy6FzOfF/UOR1+4upVJCE3CYZ/Ou8+clC5 /IbExfxvvZa3QTOlIdTCAlYvo6KLp/pVYPpN7R/kk33Imz/mqV01Fp5NXXpAdLgw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudduiedggeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdljedtmdenucfjughrpeffhf fvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofhitghhrggvlhcurfgrqhhu ihgvrhcuoehmihgthhgrvghlsehprghquhhivghrrdighiiiqeenucggtffrrghtthgvrh hnpedvgeduuefhtdeuleettdevjeehheeiveeuieegleetgeeljeelieeuieehgeevhfen ucfkphepudduuddruddtvddrudektddrudekheenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id 32AD8306005F; Sun, 23 Aug 2020 08:12:02 -0400 (EDT) Date: Sun, 23 Aug 2020 21:11:58 +0900 From: Michael Paquier To: Tom Lane Cc: Alexander Lakhin , "pgsql-docs@postgresql.org" Subject: Re: Minor fixes for PostgreSQL 13 documentation Message-ID: <20200823121158.GD24782@paquier.xyz> References: <20200822133022.GC24782@paquier.xyz> <2146373.1598108812@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gdTfX7fkYsEEjebm" Content-Disposition: inline In-Reply-To: <2146373.1598108812@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --gdTfX7fkYsEEjebm Content-Type: multipart/mixed; boundary="dFWYt1i2NyOo1oI9" Content-Disposition: inline --dFWYt1i2NyOo1oI9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Aug 22, 2020 at 11:06:52AM -0400, Tom Lane wrote: > Michael Paquier writes: >> The docs of brin, gin, gist and spgist disagree with that. Wouldn't >> it be better to update all of them? >=20 > Yeah, probably. See 47046763c for some policy I'd made up about when > to use --- typedef names definitely don't fit. I have looked again at the documentation and found just the five places mentioned previously, giving the attached. -- Michael --dFWYt1i2NyOo1oI9 Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="doc-structname.patch" Content-Transfer-Encoding: quoted-printable diff --git a/doc/src/sgml/brin.sgml b/doc/src/sgml/brin.sgml index 55b6272db6..b9d596e3c4 100644 --- a/doc/src/sgml/brin.sgml +++ b/doc/src/sgml/brin.sgml @@ -576,7 +576,7 @@ typedef struct BrinOpcInfo =20 The options function is passed a pointer to a - local_relopts struct, which needs to be + local_relopts struct, which needs to be filled with a set of operator class specific options. The options can be accessed from other support functions using the PG_HAS_OPCLASS_OPTIONS() and diff --git a/doc/src/sgml/btree.sgml b/doc/src/sgml/btree.sgml index d03ee4d6fa..435b7cb24d 100644 --- a/doc/src/sgml/btree.sgml +++ b/doc/src/sgml/btree.sgml @@ -566,7 +566,7 @@ equalimage(opcintype o= id) returns bool options(relopts local_relopts *) r= eturns void - The function is passed a pointer to a local_relopts + The function is passed a pointer to a local_relopts struct, which needs to be filled with a set of operator class specific options. The options can be accessed from other support functions using the PG_HAS_OPCLASS_OPTIONS() and diff --git a/doc/src/sgml/gin.sgml b/doc/src/sgml/gin.sgml index 07114f7719..2d862669c3 100644 --- a/doc/src/sgml/gin.sgml +++ b/doc/src/sgml/gin.sgml @@ -412,7 +412,7 @@ =20 The options function is passed a pointer to a - local_relopts struct, which needs to be + local_relopts struct, which needs to be filled with a set of operator class specific options. The options can be accessed from other support functions using the PG_HAS_OPCLASS_OPTIONS() and diff --git a/doc/src/sgml/gist.sgml b/doc/src/sgml/gist.sgml index 5d970ee9f2..a505815f4e 100644 --- a/doc/src/sgml/gist.sgml +++ b/doc/src/sgml/gist.sgml @@ -962,7 +962,7 @@ LANGUAGE C STRICT; =20 - The function is passed a pointer to a local_relopts + The function is passed a pointer to a local_relopts struct, which needs to be filled with a set of operator class specific options. The options can be accessed from other support functions using the PG_HAS_OPCLASS_OPTIONS() and diff --git a/doc/src/sgml/spgist.sgml b/doc/src/sgml/spgist.sgml index 5d6e893d49..b86302e4ef 100644 --- a/doc/src/sgml/spgist.sgml +++ b/doc/src/sgml/spgist.sgml @@ -897,7 +897,7 @@ LANGUAGE C STRICT; =20 - The function is passed a pointer to a local_relopts + The function is passed a pointer to a local_relopts struct, which needs to be filled with a set of operator class specific options. The options can be accessed from other support functions using the PG_HAS_OPCLASS_OPTIONS() and --dFWYt1i2NyOo1oI9-- --gdTfX7fkYsEEjebm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl9CXQ4ACgkQnvQgOdby QH2KYw/8CtO9al48H3clbiXeyZ10ugZaAatTh/5QiC54BSnNNWYXZlgsIBeRg7jG DIEkHJ4j+dkKzapoPOY5iqZHcJzmqzoTPXoSJJbpEfD/4aw7TtPskKcPmeR7hQYl Op8s/BZ3nVxncCvO/mii8VjMA/X91z280OsNtCen03FiqSjQF2JRdKW4s+PJ0oi9 BJmue5DT9O+gfUBbJ8q3FaCPkt5V7IRnqjpGDI/6lo2EJAUwMmEWjNrPu+b62rks j7fSGsQwRePbRNukUucBdGQIsIfb570V8VwrVDnPvsGXsm0MdnbDLyn4w2JJzPwA 6OrDqI7wK694XOTcu6AAcRSbbclRky99LmVgvCOxkB8vVZ1eR+Y54vF/e+fwrXIE ElLgG8zMCIidf+H3PpS/uUuBAe7jwiVjVT1H+OLyIQRTyAXFbqzq030l+OJBuUjq Zo1IyM97z3deU2Ie30M5sA7O7sAzrvPCOVXNNXAqjRzd4SQiyJNe1ZQCAktuzasy bOOeJ+8tigX3BnrnqgdwpFGFirrs5/hDb1ygR3/8PNolvZdPxPv5ZwriJ9mAN7a2 3eYO7VGdM2+QY+OUw/2Ebzdz8eb3LzXWFP6Db543XcBppLJ64rAaOW0RJM3C+e0M SJ+tUrFmBRzwOlrEa2/hD8YyPJ4gWwljz6oZkJseZZXoUyb9w9Q= =lIKI -----END PGP SIGNATURE----- --gdTfX7fkYsEEjebm--