Bug fix in pgsql/db_d, added db_seek() for mysql