http://www.postgresql.jp/document/pg803doc/html/ecpg.html
http://www.hpc.cs.ehime-u.ac.jp/~aman/linux/SQL/ecpg.html