Re: small patch request(pgIndex.cpp) - Mailing list pgadmin-hackers

From Dave Page
Subject Re: small patch request(pgIndex.cpp)
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E40154CCAF@ratbert.vale-housing.co.uk
Whole thread Raw
In response to small patch request(pgIndex.cpp)  ("Hiroshi Saito" <z-saito@guitar.ocn.ne.jp>)
List pgadmin-hackers

> -----Original Message-----
> From: pgadmin-hackers-owner@postgresql.org
> [mailto:pgadmin-hackers-owner@postgresql.org] On Behalf Of
> Hiroshi Saito
> Sent: 15 September 2006 06:36
> To: pgadmin-hackers@postgresql.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

pgadmin-hackers by date:

Previous
From: "Hiroshi Saito"
Date:
Subject: small patch request(pgIndex.cpp)
Next
From: "Dave Page"
Date:
Subject: Re: [pgadmin-support] pgAdmin III v1.6 Beta 1 Released