vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi Dave. :\HOME\pgadmin3-1.6.0-beta1\src\schema\pgIndex.cpp(117) : error C2668: 'NumToStr' xx(snip)japanesexxxxxxx Thanks.! Regards, Hiroshi Saito ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings |
| |||
| > -----Original Message----- > From: pgadmin-hackers-owner@postgresql.org > [mailto > 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 ---------------------------(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 |
| |||
| Hi Dave. I followed the intellisense of MS-VC simply. However, it may have desirable long at the reason columnCount is long. --correction:-) NumToStr((long)(i-1)) -- Thanks! Regards, Hiroshi Saito > 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 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@postgresql.org so that your message can get through to the mailing list cleanly |
| |||
| > -----Original Message----- > From: Hiroshi Saito [mailto:z-saito@guitar.ocn.ne.jp] > Sent: 19 September 2006 05:15 > To: Dave Page; pgadmin-hackers@postgresql.org > Subject: Re: [pgadmin-hackers] small patch request(pgIndex.cpp) > > Hi Dave. > > I followed the intellisense of MS-VC simply. However, it may have > desirable long at the reason columnCount is long. > > --correction:-) > NumToStr((long)(i-1)) > -- Well 'i' is already a long, therefore (i-1) is a long and shouldn't require a cast. Are you getting a compiler warning form this? Regards, Dave ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings |
| |||
| Hi Dave. > Well 'i' is already a long, therefore (i-1) is a long and shouldn't > require a cast. Are you getting a compiler warning form this? --- Sorry this is japanese ---- pgIndex.cpp c:\home\pgadmin3-1.6.0-beta1\src\schema\pgindex.cpp(117) : error C2668: 'NumToStr' : オーバー*ード関数の呼び出しを解 することができません。(新機能 ; ヘルプを参照) cl.exe の実行エラー pgAdmin3.exe - エラー 1、*告 0 ---- It is happen in VC6..., but it left our support. However, I am checking the difference in two or more build environments, in order to remove release uneasiness. It is the dependency of a library. Regards, Hiroshi Saito ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq |
| ||||
| > -----Original Message----- > From: Hiroshi Saito [mailto:z-saito@guitar.ocn.ne.jp] > Sent: 19 September 2006 11:06 > To: Dave Page; pgadmin-hackers@postgresql.org > Subject: Re: [pgadmin-hackers] small patch request(pgIndex.cpp) > > Hi Dave. > > > Well 'i' is already a long, therefore (i-1) is a long and shouldn't > > require a cast. Are you getting a compiler warning form this? > > --- Sorry this is japanese ---- > pgIndex.cpp > c:\home\pgadmin3-1.6.0-beta1\src\schema\pgindex.cpp(117) : > error C2668: 'NumToStr' : $B%*!<%P!<%m!<%I4X?t$N8F$S=P$7$r2r7h$9$k$3$H$,$G$-$^$;$s!#(J($B?75!G=(J ; $B%X%k%W$r;2>H(J) > cl.exe $B$N<B9T%(%i!<(J > > pgAdmin3.exe - $B%(%i!<(J 1$B!"7Y9p(J 0 > > ---- > It is happen in VC6..., but it left our support. > However, I am checking the difference in two or more build > environments, > in order to remove release uneasiness. It is the dependency > of a library. OK, well, go ahead and commit the change if it helps - it certainly won't hurt. :-) Regards, Dave. ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq |
| Thread Tools | |
| Display Modes | |
|
|