Re: Bug report form: locale/encoding - Mailing list pgsql-hackers

From Martijn van Oosterhout
Subject Re: Bug report form: locale/encoding
Date
Msg-id 20060316095227.GC20889@svana.org
Whole thread Raw
In response to Bug report form: locale/encoding  ("Magnus Hagander" <mha@sollentuna.net>)
Responses Re: Bug report form: locale/encoding
List pgsql-hackers
On Thu, Mar 16, 2006 at 10:11:23AM +0100, Magnus Hagander wrote:
> Considering the amount of bug repotrs that get their first question as
> "what's the locale" and "what's the encoding", should we perhaps add
> those fields to the bug reporting form?
>
> And if we should, should we add them as optional or mandatory?

Mandatory, including a quick description on how to get the values.

Has anyone considered something like "reportbug" in Debian which
collects a certain amount of information about the system and then
creates an email with the information included. Of perhaps a pg_buginfo
like this:

$ pg_buginfo <dbname>
Platform: blah
Version: blah
Compiler: blah
etc...
FrozenXID: blah
Encoding: blah
Locale: blah

Which could then be cut and paste into an email or the bug form. Maybe
with optional table name it would provide more info about just that
table. Or if you provide a query it generates explain output.
Obviously it won't work in situations where the system is completely
broken.

Have a nice day,

--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

pgsql-hackers by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Bug report form: locale/encoding
Next
From: Simon Riggs
Date:
Subject: Re: Pregunta sobre limitar el