Re: PG 18 relnotes and RC1

Bruce Momjian <bruce@momjian.us>

From: Bruce Momjian <bruce@momjian.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PostgreSQL-development <pgsql-hackers@lists.postgresql.org>, Peter Eisentraut <peter@eisentraut.org>
Date: 2025-08-30T21:55:17Z
Lists: pgsql-hackers
On Sat, Aug 30, 2025 at 02:17:15PM -0400, Tom Lane wrote:
> I wrote:
> > If we're okay with items not having credits, then
> > add_commit_links.pl's logic for where to put the <ulink>s needs
> > improvement.  I don't really understand why it's looking for
> > parens in the first place -- why isn't the rule simply "put them
> > before the first </para> in the item"?
> 
> I revised the script to do it that way, as attached.  The results
> don't change in any of our stable branches.  In v18, it makes
> this change:
> 
> diff --git a/doc/src/sgml/release-18.sgml b/doc/src/sgml/release-18.sgml
> index c3e318dab00..c49eb2655eb 100644
> --- a/doc/src/sgml/release-18.sgml
> +++ b/doc/src/sgml/release-18.sgml
> @@ -284,7 +284,7 @@ Author: Peter Eisentraut <peter@eisentraut.org>
>      database clusters using pg_upgrade, it is recommended to reindex all
>      indexes related to full-text search and pg_trgm after the upgrade.
>  
> -    <ulink url="&commit_baseurl;fb1a18810f0">&sect;</ulink>
> +<ulink url="&commit_baseurl;fb1a18810f0">&sect;</ulink>
>      </para>
>      </listitem>
> 
> because of the blank line before the </para>, which is not our usual
> style and should be removed IMO.  (Alternatively, we could change
> the $prev_leading_space updating logic to ignore blank lines.)

I ran our existing script against all the release notes back to PG 13
and saw no change if we removed the parenthesis check.  However, the
check also caught the missing attribution so I am inclined now to change
the script, unless you can explain why we would want to skip the check.

Thanks.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  Do not let urgent matters crowd out time for investment in the future.



Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Add list of major features to the v18 release notes.

  2. add_commit_links.pl: error out if missing major version number

  3. doc PG 18 relnotes: Add migration note about tsearch

  4. Remove ts_locale.c's lowerstr()