Re: small patch request(pgIndex.cpp)

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>, <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: small patch request(pgIndex.cpp)
Date: 2006-09-15 07:57:32
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E40154CCAF@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

> -----Original Message-----
> From: pgadmin-hackers-owner(at)postgresql(dot)org
> [mailto:pgadmin-hackers-owner(at)postgresql(dot)org] On Behalf Of
> Hiroshi Saito
> Sent: 15 September 2006 06:36
> To: pgadmin-hackers(at)postgresql(dot)org
> Subject: [pgadmin-hackers] small patch request(pgIndex.cpp)
>
> Hi Dave.
>
> :\HOME\pgadmin3-1.6.0-beta1\src\schema\pgIndex.cpp(117) :
> error C2668: 'NumToStr' xx(snip)japanesexxxxxxx

Hi Hiroshi,

I don't understand why you think we need this?

- wxT("LEFT OUTER JOIN pg_opclass o ON (o.oid = i.indclass[") +
NumToStr(i-1) + wxT("])\n") +
+ wxT("LEFT OUTER JOIN pg_opclass o ON (o.oid = i.indclass[") +
NumToStr((wxLongLong)(i-1)) + wxT("])\n") +

'i' is a long, and we have

wxString NumToStr(long value)
{
wxString result;
result.Printf(wxT("%ld"), value);
return result;
}

In base.cpp.

?

Regards, Dave

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Harald Armin Massa 2006-09-15 08:20:34 Re: [pgadmin-support] pgAdmin III v1.6 Beta 1 Released
Previous Message Hiroshi Saito 2006-09-15 05:36:15 small patch request(pgIndex.cpp)