Java admin tools for Postgres


I came across an java database administration tool for postgresql called XPG. However I immidately ran into problems when attampting to compile it. That's because the source files contains non ASCII characters - since that character sequence is part of the authors name, it's fair enough!

Apparently it compiles fine under java 1.4 but fails only with java 5 (1.5.0), at any rate someone had filed a bug report as such. The developers of the SDK has claimed it's not a bug but to use the -encoding flag for javac.

So that's what I did, edited the Makefile for XPG and added -encoding cp1232 as a parameter to javac and the error message (unmappable character for encoding UTF8) disappeared. So if you are having trouble compiling xpg that's something you might want to try.

comments powered by Disqus