Print some install help if libpq wasn't found. #396
This should help to pick the necessary package without googling.
Update Windows fat binary gem to OpenSSL-1.1.1m and PostgreSQL-14.1.
Add binary Windows gems for Ruby 3.0 and 3.1.
Make the library path of libpq available in ruby as PG::POSTGRESQL_LIB_PATH and add it to the search paths on Windows similar to +rpath+ on Unix systems. #373
Fall back to pkg-config if pg_config is not found. #380
Add option to extconf.rb to disable nogvl-wrapping of libpq functions.
All methods (except PG::Connection.ping) are nonblocking now, so that GVL unlock is in theory no longer necessary.
However it can have some advantage in concurrency, so that GVL unlock is still enabled by default.
Use:
gem inst pg -- --disable-gvl-unlock
API Enhancements:
Add full compatibility to Fiber.scheduler introduced in Ruby-3.0. #397
Add async_connect and async_send methods and add specific specs for Fiber.scheduler #342
Add async_get_result and async_get_last_result
Add async_get_copy_data
Implement async_put_copy_data/async_put_copy_end
Implement async_reset method using the nonblocking libpq API
Add async_set_client_encoding which is compatible to scheduler
Add async_cancel as a nonblocking version of conn#cancel
Add async_encrypt_password
Run Connection.ping in a second thread.
Make discard_results scheduler friendly
Do all socket waiting through the conn.socket_io object.
Avoid PG.connect blocking while address resolution by automatically providing the +hostaddr+ parameter.
On Windows Fiber.scheduler support requires Ruby-3.1+.
It is also only partly usable since may ruby IO methods are not yet scheduler aware on Windows.
Add support for pipeline mode of PostgreSQL-14. #401
Allow specification of multiple hosts in PostgreSQL URI. #387
Add new method conn.backend_key - used to implement our own cancel method.
Type cast enhancements:
Add PG::BasicTypeMapForQueries::BinaryData for encoding of bytea columns. #348
Reduce time to build coder maps and permit to reuse them for several type maps per PG::BasicTypeRegistry::CoderMapsBundle.new(conn) . #376
Make BasicTypeRegistry a class and use a global default instance of it.
Now a local type registry can be instanciated and given to the type map, to avoid changing shared global states.
Allow PG::BasicTypeMapForQueries to take a Proc as callback for undefined types.
Other Enhancements:
Convert all PG classes implemented in C to TypedData objects. #349
Support ObjectSpace.memsize_of(obj) on all classes implemented in C. #393
Make all PG objects implemented in C memory moveable and therefore GC.compact friendly. #349
Update errorcodes and error classes to PostgreSQL-14.0.
Add PG::CONNECTION_* constants for conn.status of newer PostgreSQL versions.
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps pg from 1.2.3 to 1.3.0.
Changelog
Sourced from pg's changelog.
... (truncated)
Commits
0206294
Remove prerelease version, update historyab36883
Update expired gem-signing certf873d39
Update History.rdoc reg. Windows specific rb_io_wait()8b053b6
Merge branch 'master' of github.com:ged/ruby-pge754e43
Bump VERSION to 1.3.0.rc4bba8786
Merge pull request #417 from larskanis/speedup-windowsb50eb0c
Add a faster Windows specific rb_io_wait() implementation390e076
Update Float encoder format in docsc463267
CI: Fix ruby-2.5 on github actions0e97f48
Docs: Link to the current PostgreSQL versionYou can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)