Re: Remove error message hints mentioning configure options

Daniel Gustafsson <daniel@yesql.se>

From: Daniel Gustafsson <daniel@yesql.se>
To: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2022-04-07T09:25:10Z
Lists: pgsql-hackers
> On 7 Apr 2022, at 09:19, Peter Eisentraut <peter.eisentraut@enterprisedb.com> wrote:
> 
> We have some error messages like this:
> 
> SELECT xml_is_well_formed('<abc/>');
> ERROR:  unsupported XML feature
> DETAIL:  This functionality requires the server to be built with libxml support.
> HINT:  You need to rebuild PostgreSQL using --with-libxml.
> 
> This patch removes these kinds of hints.
> 
> I think these hints are usually not useful since users will use packaged distributions and won't be interested in rebuilding their installation from source.

Agreed, +1 on this patch.  Grepping the code I was also unable to find any
other user-facing instances.

--
Daniel Gustafsson		https://vmware.com/




Commits

  1. Remove error message hints mentioning configure options