2.0
CHANGES:
Breaking changes
- The Pgx module is now wrapped, which means
Pgx_aux
,Types
,Access
, etc. aren't added to the global scope.
The main result of this is thatPgx_value
now needs to be accessed asPgx.Value
.
(#103) Pgx_async.connect
andwith_conn
now have an additional optional?ssl
argument (see below).
Added
- Pgx_async now supports TLS connections using Conduit_async. This is enabled by default and can be controlled with the
new?ssl
argument toconnect
andwith_conn
.
(#108)
Fixed
- Improved message for authentication errors. Previously these raised
Pgx_eof
, and now they raise
PostgreSQL_Error("Failed to authenticate with postgres server", additional details ...)
.
(#105)
Changed
- Support new Mirage-conduit timeout argument (#95).