split sql to files
trivial bug fix on pg driver
improve pg_libpq driver
improve doc