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 1jdXxt-0005vS-1N for pgsql-docs@arkaria.postgresql.org; Tue, 26 May 2020 11:41:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jdXxr-00047A-Nb for pgsql-docs@arkaria.postgresql.org; Tue, 26 May 2020 11:41:47 +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 1jdXxr-000473-HY for pgsql-docs@lists.postgresql.org; Tue, 26 May 2020 11:41:47 +0000 Received: from forward1-smtp.messagingengine.com ([66.111.4.223]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jdXxo-00050U-HC for pgsql-docs@postgresql.org; Tue, 26 May 2020 11:41:46 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailforward.nyi.internal (Postfix) with ESMTP id 2DF961942248; Tue, 26 May 2020 07:41:43 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 26 May 2020 07:41:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding: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=fm2; bh=LbC/SXBOIA31VhzsixoZiOB7T6LJ0Qf2UXRRn+jc/ hc=; b=HwEauS3CgT1JiqCSOj0lDg0WNHaqyw1ropnuHoHOHBeW16hB6EevJ6f9N BAXoUVEgI37F8oG5WzztUzE8wMfXm0qeJDfC8RaFe7G2NjH/j0c+Oj2k/1G7qs+8 2KbUiH6Ch8N5Lii9D1m7tjeGxIVdSz0B4mciI30/XfCoLApmwFYB+PhVUt0i3z5M Fg+80qzOCN17Y+kjUT6KGDYsLo5066fPdhCy9Hur6+6Oq+qsp6wxqc77EAUrNt6m IIar1xKho69dbTIw0TOP/u6QdF2lYbOyYEQ4gY6vwBjOm26dBnHLbpgvFfohUCp2 3kfCamTc9mTHWU9aKAIicYr8TVi3g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedruddvvddggedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhohfkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpefrvght vghrucfgihhsvghnthhrrghuthcuoehpvghtvghrrdgvihhsvghnthhrrghuthesvdhnug hquhgrughrrghnthdrtghomheqnecuggftrfgrthhtvghrnheptdevgeehtdejvdevvdel jeeuveejjedtleelgfekleefieekjeelgfektdduuedvnecuffhomhgrihhnpedvnhguqh hurggurhgrnhhtrdgtohhmnecukfhppeelfedrvdegfedrkedvrddvgeeinecuvehluhhs thgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvrhdrvghish gvnhhtrhgruhhtsedvnhguqhhurggurhgrnhhtrdgtohhm X-ME-Proxy: Received: from april.pezone.net (p5df352f6.dip0.t-ipconnect.de [93.243.82.246]) by mail.messagingengine.com (Postfix) with ESMTPA id 048A83280064; Tue, 26 May 2020 07:41:41 -0400 (EDT) Subject: Re: Adding xreflable To: Bruce Momjian References: <20200515123923.GB3894@momjian.us> <18482.1589549850@sss.pgh.pa.us> <20200515134900.GD3894@momjian.us> <19807.1589551746@sss.pgh.pa.us> <20200515142204.GE3894@momjian.us> <22323.1589555218@sss.pgh.pa.us> <20200515153034.GG3894@momjian.us> <20200515164747.GH3894@momjian.us> <8315c0ca-7758-8823-fcb6-f37f9413e6b6@2ndquadrant.com> <20200522164518.GG30409@momjian.us> Cc: Tom Lane , PostgreSQL-documentation From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: <28ff383a-59c1-c8a1-a4de-5f5f3e7e794d@2ndquadrant.com> Date: Tue, 26 May 2020 13:41:41 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20200522164518.GG30409@momjian.us> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-05-22 18:45, Bruce Momjian wrote: > Ugh, I see what you mean. I have read doc/src/sgml/README.links many > times and still get confused. What you are saying is that if there is > no xreflabel on a target, you can get the chapter/section via or > specify text via . But, if there is an xreflabel on the target, > you can't get the chapter/section anymore --- you can only get the > xreflabel via , or specify text via , right? I think that's right. > I added 13 xreflabels in commits 85af628da5 and 75fcdd2ae2. What I am > thinking of doing is to look at all references to the id's associated > with those xreflabels and remove the xreflabel if the chapter/section > is required, and if not, convert to where the link text > matches the xreflabel. Does that sound like a good plan? Both of those commits should be reverted. I don't quite understand your plan, but if you mean, check whether anyone else links to the id in question, that doesn't sound sustainable. A new link could be added at any time in the future. I think the release notes should either just use a plain to link and use whatever generated text it gets, or if you don't like that, use . Which is basically what it was before, IIRC. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services