Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Issue in "Find and Replace"



Erwin Brandstetter wrote:
brandstetter(at)falter(dot)at wrote:
Trying to find strings starting with ' ' (space) generally fails.

I found that the alleged issue with the leading space was due to the option "Whole word" being checked.
However, there are other, more severe issues:

- Replacing ceases to work after non-latin-1 (or at least after German umlauts) characters in the text. Try the following test case:
'
foo bar test
test
test foo bar
รถ  <-- note the umlaut!
foo bar test
test
test foo bar
'
Now, try replacing 'test'. Even "backwards" does not work on the part after the umlaut. In case it matters (which I don't think): I have language "Default" and "Read and write Unicode UTF-8 files" in the preferences. This issue is _not_ present in the original beta4. Maybe introduced with your recent fixes?

Thanks, fixed in SVN.

- If I try a search "From the top" "Forwards", then close the "Find and Replace" window, even edit the SQL script, then open "Find and Replace" again, and start a new search (without editing the search text) it does not search from the top, but continues to search from the last position before closing the "Find and Repalce" window.
Closing the window should make it forget the last position, IMO.

Also fixed in SVN - thanks.

Regards, Dave.



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group