Re: Problem with multiple comments

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Per Wigren <per(dot)wigren(at)gmail(dot)com>, pgAdmin Support <pgadmin-support(at)postgresql(dot)org>
Subject: Re: Problem with multiple comments
Date: 2012-12-06 17:39:18
Message-ID: CA+OCxoxZ43Us1ADvr-x-yH4Ew6zK6aCCtQaJyoLh3c--ED9YGw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

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

Attachment Content-Type Size
fix_comments.diff application/octet-stream 31.5 KB

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Andrzej Zawadzki 2012-12-06 23:32:21 Re: Problem with multiple comments
Previous Message Magnus Hagander 2012-12-06 11:48:56 Re: Problem with multiple comments