Skip to content

Bump pg from 1.3.4 to 1.4.0

Dependabot requested to merge dependabot/bundler/pg-1.4.0 into master

Bumps pg from 1.3.4 to 1.4.0.


Sourced from pg's changelog.

== v1.4.0 [2022-06-20] Lars Kanis


  • Add PG::Connection#hostaddr, present since PostgreSQL-12. #453
  • Add PG::Connection.conninfo_parse to wrap PQconninfoParse. #453


  • Try IPv6 and IPv4 addresses, if DNS resolves to both. #452
  • Re-add block-call semantics to accidently removed in pg-1.3.0. #454
  • Handle client error after all data consumed in #copy_data for output. #455
  • Avoid spurious keyword argument warning on Ruby 2.7. #456
  • Change connection setup to respect connect_timeout parameter. #459
  • Fix indefinite hang in case of connection error on Windows #458
  • Set connection attribute of PG::Error in various places where it was missing. #461
  • Fix transaction leak on early break/return. #463
  • Update Windows fat binary gem to OpenSSL-1.1.1o and PostgreSQL-14.4.


  • Don't flush at each put_copy_data call, but flush at get_result. #462

== v1.3.5 [2022-03-31] Lars Kanis


  • Handle PGRES_COMMAND_OK in pgresult_stream_any. #447 Fixes usage when trying to stream the result of a procedure call that returns no results.


  • Rename BasicTypeRegistry#define_default_types to #register_default_types to use a more consistent terminology. Keeping define_default_types for compatibility.
  • BasicTypeRegistry: return self instead of objects by accident. This allows call chaining.
  • Add some April fun. #449


  • Refine documentation of conn.socket_io and conn.connect_poll
  • 3c14a30 Update to postgresql-14.4 and openssl 1.1.1o for Windows binaries
  • f5bb30d Merge pull request #464 from larskanis/bump-1.4.0
  • d58242e Bump VERSION to 1.4.0
  • 443e7cb Add a proxy to enable or disable TCP data flow
  • d5e223c Don't fail at GC.compact spec on ppc64le
  • a6401cd Avoid compiler warnings
  • e701a9b Remove unnecessary variable assignments
  • 217536e Merge pull request #463 from ejoubaud/fix-transaction-leak
  • 48bc9b2 Remove useless assignments in test
  • df60639 Fix transaction leak on early break/return
  • Additional commits viewable in compare view

Merge request reports