> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Hiroshi Saito
> Sent: 15 September 2006 06:36
> To: [email protected]
> 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
---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match