Pgsql driver implementation (update 4)

Updated the suggested comments, please review again