Re: Remove error message hints mentioning configure options

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Remove error message hints mentioning configure options
Date: 2022-04-07 09:25:10
Message-ID: 1E7DFB7E-D285-4885-8828-32C6CFD12741@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 7 Apr 2022, at 09:19, Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)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/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bharath Rupireddy 2022-04-07 10:05:07 Re: pg_walinspect - a new extension to get raw WAL data and WAL stats
Previous Message Masahiko Sawada 2022-04-07 08:52:19 Re: Showing I/O timings spent reading/writing temp buffers in EXPLAIN