Re: Bug in SQL editor find and replace

Lists: pgadmin-support
From: Steve Roberts <steve(at)steveroberts(dot)net>
To: pgadmin-support(at)postgresql(dot)org
Subject: Bug in SQL editor find and replace
Date: 2008-10-31 11:06:05
Message-ID: 1225451165.6200.44.camel@spr.WAG54GS
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-support

If from the SQL editor I click edit->find and replace, complete a text
string to find and a text string to replace it with, then click Replace
All pgAdmin3 freezes, consuming 100% cpu usage of one of my cpu cores
until I kill the process.

Replace each occurence singly works, but replace all freezes. It looks
like it's repeatedly looping over the whole file?

Pgadmin version 1.8.4
Ubuntu Linux 8.10 64 bit (I also had this problem with 8.04)

Many thanks,

Steve Roberts


From: "Dave Page" <dpage(at)pgadmin(dot)org>
To: "Steve Roberts" <steve(at)steveroberts(dot)net>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: Bug in SQL editor find and replace
Date: 2008-11-04 09:40:44
Message-ID: 937d27e10811040140h3ad50294i78de915eea0810c1@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-support

On Fri, Oct 31, 2008 at 11:06 AM, Steve Roberts <steve(at)steveroberts(dot)net> wrote:
> If from the SQL editor I click edit->find and replace, complete a text
> string to find and a text string to replace it with, then click Replace
> All pgAdmin3 freezes, consuming 100% cpu usage of one of my cpu cores
> until I kill the process.
>
> Replace each occurence singly works, but replace all freezes. It looks
> like it's repeatedly looping over the whole file?

I cannot reproduce this on OS X or Linux. Can you detail exactly what
options you're using on the search/replace dialog please?

--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com