Re: [pgadmin-support] Bug in SQL editor find and replace

2009-06-24 Thread Andres Freund
On 06/24/2009 11:45 AM, Andres Freund wrote: On 06/24/2009 11:12 AM, Dave Page wrote: On Wed, Jun 24, 2009 at 10:07 AM, Andres Freund wrote: On 06/24/2009 10:35 AM, Dave Page wrote: On Tue, Jun 23, 2009 at 8:23 PM, Andres Freund wrote: I found the issue. The code compares '(unsigne

Re: [pgadmin-support] Bug in SQL editor find and replace

2009-06-24 Thread Andres Freund
On 06/24/2009 11:12 AM, Dave Page wrote: On Wed, Jun 24, 2009 at 10:07 AM, Andres Freund wrote: On 06/24/2009 10:35 AM, Dave Page wrote: On Tue, Jun 23, 2009 at 8:23 PM, Andres Freundwrote: I found the issue. The code compares '(unsigned int)(-1)' with '(size_t)(-1)&

Re: [pgadmin-support] Bug in SQL editor find and replace

2009-06-24 Thread Andres Freund
On 06/24/2009 12:13 PM, Dave Page wrote: On Wed, Jun 24, 2009 at 11:11 AM, Andres Freund wrote: For some fun I tried loading a 1GB+ file and it crashed earlier (wxUtfFile::Read) ;-) You have a strange definition of 'fun' sir! I got the idea from a client trying to restore a pla

Re: [pgadmin-support] Bug in SQL editor find and replace

2009-06-24 Thread Andres Freund
On 06/24/2009 10:35 AM, Dave Page wrote: On Tue, Jun 23, 2009 at 8:23 PM, Andres Freund wrote: I found the issue. The code compares '(unsigned int)(-1)' with '(size_t)(-1)' which works on 32bit but not on 64bit. Thanks Andres - patch applied. I havent read very much o

Re: [pgadmin-support] Bug in SQL editor find and replace

2009-06-23 Thread Andres Freund
On 06/23/2009 06:59 PM, Ashesh Vashi wrote: Andres Freund wrote: On 06/23/2009 06:39 PM, Ashesh Vashi wrote: Hi Andres, I am not able to reproduce it on my end. The following details may help me reproduce on my end: 1. Is it 32 bit/64 bit linux? This is 64bit - I can create a 32bit chroot

Re: [pgadmin-support] Bug in SQL editor find and replace

2009-06-23 Thread Andres Freund
On 06/23/2009 06:59 PM, Ashesh Vashi wrote: Hi Andres, Andres Freund wrote: On 06/23/2009 06:39 PM, Ashesh Vashi wrote: Hi Andres, I am not able to reproduce it on my end. The following details may help me reproduce on my end: 1. Is it 32 bit/64 bit linux? This is 64bit - I can create a

Re: [pgadmin-support] Bug in SQL editor find and replace

2009-06-23 Thread Andres Freund
On 06/23/2009 06:39 PM, Ashesh Vashi wrote: Hi Andres, I am not able to reproduce it on my end. The following details may help me reproduce on my end: 1. Is it 32 bit/64 bit linux? This is 64bit - I can create a 32bit chroot if you have suspicions in that direction. 2. What exactly are you

Re: [pgadmin-support] Bug in SQL editor find and replace

2009-06-23 Thread Andres Freund
On 06/23/2009 06:02 PM, David Blewett wrote: On Tue, Jun 23, 2009 at 10:58 AM, David Blewett wrote: I have no idea how to debug this, but maybe some of the stuff at the end might help. In helping me debug this, Andres Freund hit the same bug on the Karmic Koala Ubuntu beta. I could reproduce