Re: Bug in SQL editor find and replace

From: Andres Freund <andres(at)anarazel(dot)de>
To: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
Cc: David Blewett <david(at)dawninglight(dot)net>, pgadmin-support(at)postgresql(dot)org
Subject: Re: Bug in SQL editor find and replace
Date: 2009-06-23 19:23:21
Message-ID: 4A412BA9.2020200@anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

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 if you have suspicions in
>> that direction.
> Can you please try to reproduce it on 32bit?
> Because, I tried to reproduce the same on CentOS 5.3 (32 bit)/Ubuntu
> 8.10/9.04 (32 bit) without any success.
I found the issue. The code compares '(unsigned int)(-1)' with
'(size_t)(-1)' which works on 32bit but not on 64bit.

Andres

Attachment Content-Type Size
size_t_is_not_unsigned_int.diff text/x-diff 415 bytes

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message David Blewett 2009-06-23 19:57:56 Re: Bug in SQL editor find and replace
Previous Message Andres Freund 2009-06-23 17:39:35 Re: Bug in SQL editor find and replace