Always initialize pg_version() result array elements to prevent failed test with older postgresql servers. Add missing client_encoding element.
Merge branch 'PHP-5.6'

* PHP-5.6:
  Always initialize pg_version() result array elements to prevent failed test with older postgresql servers. Add missing client_encoding element.