Re: [PATCH] Allow Postgres to pick an unused port to listen

From: Denis Laxalde <denis(dot)laxalde(at)dalibo(dot)com>
To: Yurii Rashkovskii <yrashk(at)gmail(dot)com>, Cary Huang <cary(dot)huang(at)highgo(dot)ca>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: [PATCH] Allow Postgres to pick an unused port to listen
Date: 2023-05-09 12:25:42
Message-ID: 87b522a2-dc30-7118-4728-41642b9b9a64@dalibo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

The documentation fails to build for me:

$ ninja docs
[1/2] Generating doc/src/sgml/postgres-full.xml with a custom command
FAILED: doc/src/sgml/postgres-full.xml
/usr/bin/python3 ../postgresql/doc/src/sgml/xmltools_dep_wrapper
--targetname doc/src/sgml/postgres-full.xml --depfile
doc/src/sgml/postgres-full.xml.d --tool /usr/bin/xmllint -- --nonet
--noent --valid --path doc/src/sgml -o doc/src/sgml/postgres-full.xml
../postgresql/doc/src/sgml/postgres.sgml
../postgresql/doc/src/sgml/postgres.sgml:685: element para: validity
error : Element entry is not declared in para list of possible children
ninja: build stopped: subcommand failed.

Removing the <entry> tag resolves the issue:
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index cd07bad3b5..f71859f710 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -684,7 +684,7 @@ include_dir 'conf.d'
</para>
<para>
The port can be set to 0 to make Postgres pick an unused port
number.
- The assigned port number can be then retrieved from
<entry><filename>postmaster.pid</filename></entry>.
+ The assigned port number can be then retrieved from
<filename>postmaster.pid</filename>.
</para>
</listitem>
</varlistentry>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2023-05-09 12:54:31 Re: Add LZ4 compression in pg_dump
Previous Message Euler Taveira 2023-05-09 12:25:00 Re: drop table in transaction