minor bug fix for PostgreSQL (issue #338)
minor bug fix for PostgreSQL --file-read
minor bug fix for PostgreSQL --file-read