Re: Problem with multiple comments

From: Per Wigren <per(dot)wigren(at)gmail(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, pgAdmin Support <pgadmin-support(at)postgresql(dot)org>
Subject: Re: Problem with multiple comments
Date: 2012-12-07 10:39:16
Message-ID: CACjysiXoU6Z6VxBrwpvsPT60L_x3Zk+E9u9ZJ-+=AYSieLTi_g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Unfortunately I don't have a build environment for this here at work but I
can confirm that by manually applying the change to the query in
edbPackage.cpp in the diff to the query I snatched from pg_log, the output
looks good. No more duplicates.
// Per

2012/12/6 Dave Page <dpage(at)pgadmin(dot)org>

> On Thu, Dec 6, 2012 at 11:48 AM, Magnus Hagander <magnus(at)hagander(dot)net>
> wrote:
> > Certainly sounds like a very similar problem. If so, the query is
> > simply buggy - it's just that a pg_upgrade'd environment is *much*
> > more likely to run into the problem than before.
> >
> > I only checked the usages of pg_shdescription. The same bug might well
> > exist with almost all uses of pg_description.
>
> OK, here's a patch that should fix this, as well as Magnus' previous
> fix which doesn't appear to have been tested so well :-p
>
> Per; are you able to test this?
>
> Magnus; can you give it at least an eyeball review before I commit
> please, in case there are any thinkos in there.
>
> Thanks!
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2012-12-07 11:15:12 Re: Problem with multiple comments
Previous Message Dave Page 2012-12-07 09:29:27 Re: Problem with multiple comments