Add new libpq features from 9.1.

Issue #69 resolved
Michael Granger repo owner created an issue

There are a few new libpq features that should be reflected in the API:

  • Use the {{{client_encoding}}} connection option to set the encoding to {{{Encoding.default_internal}}} for async connections, too.
  • PGconn::library_version (PQlibVersion)
  • PGconn::ping (PQpingParams)

Comments (6)

  1. Michael Granger reporter

    The client_encoding can now be set from the async API by calling `conn.set_default_encoding`, which calls the same code that the synchronous connection code does.

  2. Log in to comment