Re: [HACKERS] Bug report form: locale/encoding

Lists: pgsql-hackerspgsql-www
From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: <pgsql-www(at)postgresql(dot)org>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Bug report form: locale/encoding
Date: 2006-03-16 09:11:23
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCEA3513E@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers pgsql-www

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?

//Magnus


From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Magnus Hagander <mha(at)sollentuna(dot)net>
Cc: pgsql-www(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] Bug report form: locale/encoding
Date: 2006-03-16 09:52:27
Message-ID: 20060316095227.GC20889@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers pgsql-www

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(at)svana(dot)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.


From: "William ZHANG" <uniware(at)zedware(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Bug report form: locale/encoding
Date: 2006-03-16 14:38:36
Message-ID: dvbte9$pef$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers pgsql-www

>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:

It sounds good. Should we setup a bug tracker system for pgsql?

Regards,
William ZHANG


From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: William ZHANG <uniware(at)zedware(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Bug report form: locale/encoding
Date: 2006-03-16 15:04:19
Message-ID: 44197E73.3060509@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers pgsql-www

William ZHANG wrote:

>>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:
>>
>>
>
>It sounds good. Should we setup a bug tracker system for pgsql?
>
>
>
>

Please start by reviewing previous discussions on this point. We really
don't need to have this discussion every few months.

cheers

andrew


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Martijn van Oosterhout <kleptog(at)svana(dot)org>
Cc: Magnus Hagander <mha(at)sollentuna(dot)net>, pgsql-www(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] Bug report form: locale/encoding
Date: 2006-03-16 15:07:52
Message-ID: 16551.1142521672@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers pgsql-www

Martijn van Oosterhout <kleptog(at)svana(dot)org> writes:
> 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_config and pg_controldata together cover most if not all of this
info, and neither requires a running postmaster.

regards, tom lane


From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Magnus Hagander <mha(at)sollentuna(dot)net>, pgsql-www(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] Bug report form: locale/encoding
Date: 2006-03-16 15:35:58
Message-ID: 20060316153557.GE20889@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers pgsql-www

On Thu, Mar 16, 2006 at 10:07:52AM -0500, Tom Lane wrote:
> Martijn van Oosterhout <kleptog(at)svana(dot)org> writes:
> > 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_config and pg_controldata together cover most if not all of this
> info, and neither requires a running postmaster.

Excellent. Let's add some fields to the bug reporting form where people
can paste the output.

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)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.


From: "William ZHANG" <uniware(at)zedware(dot)org>
To: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Bug report form: locale/encoding
Date: 2006-03-17 01:33:03
Message-ID: 000201c6496d$fa52a160$1504a8c0@devserver.kingbase.com.cn
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers pgsql-www

----- Original Message -----
From: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
To: "William ZHANG" <uniware(at)zedware(dot)org>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Sent: Thursday, March 16, 2006 11:04 PM
Subject: Re: [HACKERS] Bug report form: locale/encoding

> William ZHANG wrote:
>
>>>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:
>>>
>>>
>>
>>It sounds good. Should we setup a bug tracker system for pgsql?
>>
>>
>>
>>
>
> Please start by reviewing previous discussions on this point. We really
> don't need to have this discussion every few months.

My apologies.
Now I have read the posts here:
http://archives.postgresql.org/pgsql-hackers/2004-02/msg00853.php
http://archives.postgresql.org/pgsql-hackers/2004-02/msg00964.php

Regards,
William ZHANG