Re: pgsql: Stop recommending auto-download of DTD files, and indeed disable

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pgsql: Stop recommending auto-download of DTD files, and indeed disable
Date: 2023-03-21 20:45:58
Message-ID: CA+TgmoZerQFQEtE4FHfs8bAnExv08_YKowe=yRKfpih1yxYpJw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Wed, Feb 8, 2023 at 5:16 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Stop recommending auto-download of DTD files, and indeed disable it.

According to this commit:

<para>
The Homebrew-supplied programs require the following environment variable
to be set:
<programlisting>
export XML_CATALOG_FILES=/usr/local/etc/xml/catalog
</programlisting>
Without it, <command>xsltproc</command> will throw errors like this:
<programlisting>
I/O error : Attempt to load network entity
http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd
postgres.sgml:21: warning: failed to load external entity
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
...
</programlisting>
</para>

I use MacPorts, rather than Homebrew, but still found it necessary to
do something similar, specifically:

export XML_CATALOG_FILES=/opt/local/etc/xml/catalog

--
Robert Haas
EDB: http://www.enterprisedb.com

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2023-03-21 20:52:02 Re: pgsql: Stop recommending auto-download of DTD files, and indeed disable
Previous Message David Rowley 2023-03-21 19:59:07 pgsql: Fix incorrect comment in preptlist.c

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2023-03-21 20:52:02 Re: pgsql: Stop recommending auto-download of DTD files, and indeed disable
Previous Message Sergei Kornilov 2023-03-21 20:18:35 Re: [PATCH] Tracking statements entry timestamp in pg_stat_statements