Re: Bug Report - Find / Replace / Replace All

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Luc Mousseau" <luc(at)sivana(dot)net>, <pgadmin-support(at)postgresql(dot)org>
Subject: Re: Bug Report - Find / Replace / Replace All
Date: 2006-01-16 15:14:48
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E40103D80B@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

________________________________

From: pgadmin-support-owner(at)postgresql(dot)org
[mailto:pgadmin-support-owner(at)postgresql(dot)org] On Behalf Of Luc Mousseau
Sent: 13 January 2006 21:39
To: pgadmin-support(at)postgresql(dot)org
Subject: [pgadmin-support] Bug Report - Find / Replace / Replace
All


Platform: Windows XP Professional
Language: English
Distribution/version: pgAdmin III v1.5 (Dec 9 2005)

It seems there's a bug in the Find and Replace function of the
query analyser. Specifically the "Replace All" appears to be somewhat
recursive. It appears to depend on the number of lines (including blank
lines) in the window.

To reproduce this bug do the following:

1. Open new Query window.
2. Type the word "test".
3. Hit enter key a dozen times (just blank lines are fine).
4. Edit > Replace, and replace the word "test" with the word
"itest". Click "Replace All".
5. Result is the original word "test" is replaced with
"iiiiiiiiiiiiiiiiiiiiiiitest".

Thanks Luc, I've committed a fix for this to SVN.

Regards, Dave

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2006-01-17 10:16:43 Re: procedure properties problem
Previous Message Rikard Pavelic 2006-01-16 15:01:50 procedure properties problem