Re: [HACKERS] New version of money type

2006-09-30 Thread Xiaofeng Zhao
I feel silly for even mentioning this, but there are less than 256 countries in the UN, and as far as I know, each has at most one currency, so you could use 8 bits instead of 15. That's not always true, e.g. China has RMB and HKD. Also Taiwan is not a member country of UN but I don't think

Re: [HACKERS] New version of money type

2006-09-30 Thread Xiaofeng Zhao
There'll also times a country may transit from one currency to another. Even a currency (currency of most continental European countries before Euro) is no more being used, it may still need to be supported. The money type is far too simplistic to model this kind of thing. A really

[HACKERS] Build v8.1.4 with VC++ 2005

2006-09-08 Thread Xiaofeng Zhao
I tried to build postgresql from src using vc++ 2005 but was not able to go far before hitting errors related to inline function in the "wchar.c" file. The source file I downloaded is "postgresql-8.1.4.tar.gz". I tried to build it by runing "nmake -f win32.mak" in the "src" directory. Can