deps: Update dependency pg to v1.7.0 #6

Closed
renovate-bot wants to merge 0 commits from renovate/pg-1.x-lockfile into main
Collaborator

This PR contains the following updates:

Package Change Age Confidence
pg (changelog) 1.6.3 → 1.7.0 age confidence

Release Notes

ged/ruby-pg (pg)

v1.7.0

Compare Source

Added:

  • Add PG::Connection#embed_params and keyword :typename for its parameter casting. #​726
    This allows to generate SQL strings with embedded parameters for easier debugging.
  • Add PG::Connection#full_protocol_version which is new in PostgreSQL-18 #​695
  • Add PG::Result#each_tuple #​675
  • Add PG::TypeMap#query_param_encoders to retrieve encoders. #​726
  • Deduplicate result field name strings for better performance. #​750

Removed:

  • Remove compatibility to ruby < 3.1 and drops support of ruby-2.7 and ruby-3.0. #​749
  • Remove GLV unlocking at all functions which process data modifiable in a second thread. #​721
    This avoids possible premature garbage collection of query parameters and possible VM crash due to concurrent data manipulation.
  • Remove :static_symbol result field names. #​691
  • Remove enforced rpath addition when no rpath is configured in rbconfig. #​699

Fixes:

  • Limit memory allocation on invalid input into PG::BinaryDecoder::Array. #​743
  • Free COPY buffers when decoders raise to avoid possible memory leak in get_copy_data. #​742
  • Prevent SQL injection in set_client_encoding. #​741
  • Add GC_GUARD to temporary ruby objects for conninfo string to avoid it's GC'ed prematurely. #​739
  • Remove option "quirks_mode" from JSON en/decoder to fix compat with json-3.0 gem. #​737
  • Respect calendar type of Ruby and PostgreSQL. #​725
  • Fix broken set_notice_(receiver|processor) callback after GC.compact. #​734
  • Disable DNS resolution in ruby when a service file is used, so that the priority of parameters is equal to libpq. #​635
  • Use RARRAY_LENINT to avoid possible overflow. #​728
  • Fix possible integer overflow at PG::BinaryEncoder::CopyRow and PG::TextEncoder::CopyRow. #​714, #​715
  • Avoid possible integer overflow in query parameter encoding. #​719
  • Ensure conninfo is a valid C string before closing the connection to avoid a double free of PGconn. #​709
  • Raise on a too large input string to PG::TextEncoder::Bytea. #​717
  • Check PG::BinaryEncoder::CopyRow array input size instead of producing an invalid output.
  • Remove accidentally copied "static" keyword from Copy and Record encoder. #​711
  • Avoid possibility to replace typemap while being used in Copy and Record encoders and decoders. #​707
  • Add GC_GUARD's for encoding converted strings sent to the server. #​705
  • Fix incomplete transaction commit when thread is shutdown ungracefully. #​704
  • Assign VALUE after registration per rb_gc_register_address() #​703
  • Update dependencies for binary gems to PostgreSQL-18.6, OpenSSL-3.6.5, krb5-1.22.2 #​752

Configuration

📅 Schedule: (in timezone Europe/Helsinki)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [pg](https://github.com/ged/ruby-pg) ([changelog](https://github.com/ged/ruby-pg/blob/master/CHANGELOG.md)) | `1.6.3` → `1.7.0` | ![age](https://developer.mend.io/api/mc/badges/age/rubygems/pg/1.7.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/rubygems/pg/1.6.3/1.7.0?slim=true) | --- ### Release Notes <details> <summary>ged/ruby-pg (pg)</summary> ### [`v1.7.0`](https://github.com/ged/ruby-pg/blob/HEAD/CHANGELOG.md#v170-2026-10-02-Lars-Kanis-larsgreiz-reinsdorfde) [Compare Source](https://github.com/ged/ruby-pg/compare/v1.6.3...v1.7.0) Added: - Add PG::Connection#embed_params and keyword `:typename` for its parameter casting. [#&#8203;726](https://github.com/ged/ruby-pg/pull/726) This allows to generate SQL strings with embedded parameters for easier debugging. - Add PG::Connection#full_protocol_version which is new in PostgreSQL-18 [#&#8203;695](https://github.com/ged/ruby-pg/pull/695) - Add PG::Result#each_tuple [#&#8203;675](https://github.com/ged/ruby-pg/pull/675) - Add PG::TypeMap#query_param_encoders to retrieve encoders. [#&#8203;726](https://github.com/ged/ruby-pg/pull/726) - Deduplicate result field name strings for better performance. [#&#8203;750](https://github.com/ged/ruby-pg/pull/750) Removed: - Remove compatibility to ruby < 3.1 and drops support of ruby-2.7 and ruby-3.0. [#&#8203;749](https://github.com/ged/ruby-pg/pull/749) - Remove GLV unlocking at all functions which process data modifiable in a second thread. [#&#8203;721](https://github.com/ged/ruby-pg/pull/721) This avoids possible premature garbage collection of query parameters and possible VM crash due to concurrent data manipulation. - Remove `:static_symbol` result field names. [#&#8203;691](https://github.com/ged/ruby-pg/pull/691) - Remove enforced rpath addition when no rpath is configured in rbconfig. [#&#8203;699](https://github.com/ged/ruby-pg/pull/699) Fixes: - Limit memory allocation on invalid input into PG::BinaryDecoder::Array. [#&#8203;743](https://github.com/ged/ruby-pg/pull/743) - Free COPY buffers when decoders raise to avoid possible memory leak in get_copy_data. [#&#8203;742](https://github.com/ged/ruby-pg/pull/742) - Prevent SQL injection in set_client_encoding. [#&#8203;741](https://github.com/ged/ruby-pg/pull/741) - Add GC_GUARD to temporary ruby objects for conninfo string to avoid it's GC'ed prematurely. [#&#8203;739](https://github.com/ged/ruby-pg/pull/739) - Remove option "quirks_mode" from JSON en/decoder to fix compat with json-3.0 gem. [#&#8203;737](https://github.com/ged/ruby-pg/pull/737) - Respect calendar type of Ruby and PostgreSQL. [#&#8203;725](https://github.com/ged/ruby-pg/pull/725) - Fix broken set_notice\_(receiver|processor) callback after GC.compact. [#&#8203;734](https://github.com/ged/ruby-pg/pull/734) - Disable DNS resolution in ruby when a service file is used, so that the priority of parameters is equal to libpq. [#&#8203;635](https://github.com/ged/ruby-pg/pull/635) - Use RARRAY_LENINT to avoid possible overflow. [#&#8203;728](https://github.com/ged/ruby-pg/pull/728) - Fix possible integer overflow at PG::BinaryEncoder::CopyRow and PG::TextEncoder::CopyRow. [#&#8203;714](https://github.com/ged/ruby-pg/pull/714), [#&#8203;715](https://github.com/ged/ruby-pg/pull/715) - Avoid possible integer overflow in query parameter encoding. [#&#8203;719](https://github.com/ged/ruby-pg/pull/719) - Ensure conninfo is a valid C string before closing the connection to avoid a double free of PGconn. [#&#8203;709](https://github.com/ged/ruby-pg/pull/709) - Raise on a too large input string to PG::TextEncoder::Bytea. [#&#8203;717](https://github.com/ged/ruby-pg/pull/717) - Check PG::BinaryEncoder::CopyRow array input size instead of producing an invalid output. - Remove accidentally copied "static" keyword from Copy and Record encoder. [#&#8203;711](https://github.com/ged/ruby-pg/pull/711) - Avoid possibility to replace typemap while being used in Copy and Record encoders and decoders. [#&#8203;707](https://github.com/ged/ruby-pg/pull/707) - Add GC_GUARD's for encoding converted strings sent to the server. [#&#8203;705](https://github.com/ged/ruby-pg/pull/705) - Fix incomplete transaction commit when thread is shutdown ungracefully. [#&#8203;704](https://github.com/ged/ruby-pg/pull/704) - Assign VALUE after registration per rb_gc_register_address() [#&#8203;703](https://github.com/ged/ruby-pg/pull/703) - Update dependencies for binary gems to PostgreSQL-18.6, OpenSSL-3.6.5, krb5-1.22.2 [#&#8203;752](https://github.com/ged/ruby-pg/pull/752) </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/Helsinki) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMzYuMiIsInVwZGF0ZWRJblZlciI6IjQ0LjIzNi4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
deps: Update dependency pg to v1.7.0
All checks were successful
Tests / test (push) Successful in 41s
006f4f794f
Owner

Merged into main in e6cfcc6 together with the other Renovate updates: combined tests passed (run 414) and it is deployed (run 415, Puma 8.0.2 healthy). Closing by hand because the merge was done outside the web UI.

Merged into main in e6cfcc6 together with the other Renovate updates: combined tests passed (run 414) and it is deployed (run 415, Puma 8.0.2 healthy). Closing by hand because the merge was done outside the web UI.
asxpi closed this pull request 2026-11-12 22:17:10 +00:00
All checks were successful
Tests / test (push) Successful in 41s

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
asxpi/asxpio!6
No description provided.