Remove error message hints mentioning configure options - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Remove error message hints mentioning configure options
Date
Msg-id 2552aed7-d0e9-280a-54aa-2dc7073f371d@enterprisedb.com
Whole thread Raw
Responses Re: Remove error message hints mentioning configure options  (Daniel Gustafsson <daniel@yesql.se>)
List pgsql-hackers
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.  Also, we have only used these kinds of hints for some 
features and in some places, not consistently throughout.  And of course 
there are build systems that don't use configure.  The information 
"needs to be built with XXX" or "was not built with XXX" should be 
enough for those interested in actually changing their build 
configuration to figure out what to do.
Attachment

pgsql-hackers by date:

Previous
From: Julien Rouhaud
Date:
Subject: Re: Showing I/O timings spent reading/writing temp buffers in EXPLAIN
Next
From: "Gunnar \"Nick\" Bluth"
Date:
Subject: Re: [PATCH] pg_stat_toast