Re: pgsql: Stop recommending auto-download of DTD files, and indeed disable
Re: pgsql: Stop recommending auto-download of DTD files, and indeed disable
От:
Robert Haas <robertmhaas@gmail.com>
Дата:
On Wed, Feb 8, 2023 at 5:16 PM Tom Lane wrote:
> Stop recommending auto-download of DTD files, and indeed disable it.
According to this commit:
The Homebrew-supplied programs require the following environment variable
to be set:
export XML_CATALOG_FILES=/usr/local/etc/xml/catalog
Without it, xsltproc will throw errors like this:
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"
...
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
Re: pgsql: Stop recommending auto-download of DTD files, and indeed disable
От:
Robert Haas <robertmhaas@gmail.com>
Дата:
On Tue, Mar 21, 2023 at 4:45 PM Robert Haas wrote: > 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 Ah, never mind. I had an incorrect value in my environment. If I unset it completely, it works just as well as setting a correct value. Sorry for the noise. -- Robert Haas EDB: http://www.enterprisedb.com