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 sophistic
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 one
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.