Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A administrate
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 96
    • Issues 96
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 32
    • Merge requests 32
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • thoughtbot, inc.
  • administrate
  • Merge requests
  • !1250

Bump pg from 0.21.0 to 1.1.3

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge dependabot/bundler/pg-1.1.3 into master Dec 04, 2018
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 2

Created by: dependabot-preview[bot]

Bumps pg from 0.21.0 to 1.1.3.

Changelog

Sourced from pg's changelog.

== v1.1.3 [2018-09-06] Michael Granger ged@FaerieMUD.org

  • Revert opimization that was sometimes causing EBADF in rb_wait_for_single_fd().

== v1.1.2 [2018-08-28] Michael Granger ged@FaerieMUD.org

  • Don't generate aliases for JOHAB encoding. This avoids linking to deprecated/private function rb_enc(db)_alias().

== v1.1.1 [2018-08-27] Michael Granger ged@FaerieMUD.org

  • Reduce deprecation warnings to only one message per deprecation.

== v1.1.0 [2018-08-24] Michael Granger ged@FaerieMUD.org

Deprecated (disable warnings per PG_SKIP_DEPRECATION_WARNING=1):

  • Forwarding conn.exec to conn.exec_params is deprecated.
  • Forwarding conn.exec_params to conn.exec is deprecated.
  • Forwarding conn.async_exec to conn.async_exec_params.
  • Forwarding conn.send_query to conn.send_query_params is deprecated.
  • Forwarding conn.async_exec_params to conn.async_exec is deprecated.

PG::Connection enhancements:

  • Provide PG::Connection#sync_* and PG::Connection#async_* query methods for explicit calling syncronous or asynchronous libpq API.
  • Make PG::Connection#exec and siblings switchable between sync and async API per PG::Connection.async_api= and change the default to async flavors.
  • Add async flavors of exec_params, prepare, exec_prepared, describe_prepared and describe_portal. They are identical to their syncronous counterpart, but make use of PostgreSQL's async API.
  • Replace rb_thread_fd_select() by faster rb_wait_for_single_fd() in conn.block and conn.async_exec .
  • Add PG::Connection#discard_results .
  • Raise an ArgumentError for strings containing zero bytes by #escape, #escape_literal, #escape_identifier, #quote_ident and PG::TextEncoder::Identifier. These methods previously truncated strings.

Result retrieval enhancements:

  • Add PG::Result#tuple_values to retrieve all field values of a row as array.
  • Add PG::Tuple, PG::Result#tuple and PG::Result#stream_each_tuple . PG::Tuple offers a way to lazy cast result values.
  • Estimate PG::Result size allocated by libpq and notify the garbage collector about it when running on Ruby-2.4 or newer.
  • Make the estimated PG::Result size available to ObjectSpace.memsize_of(result) .

Type cast enhancements:

  • Replace Ruby code by a faster C implementation of the SimpleDecoder's timestamp decode functions. github #20
  • Interpret years with up to 7 digists and BC dates by timestamp decoder.
  • Add text timestamp decoders for UTC vs. local timezone variations.
  • Add text timestamp encoders for UTC timezone.
  • Add decoders for binary timestamps: PG::BinaryDecoder::Timestamp and variations.
  • Add PG::Coder#flags accessor to allow modifications of de- respectively encoder behaviour.
  • Add a flag to raise TypeError for invalid input values to PG::TextDecoder::Array .
  • Add a text decoder for inet/cidr written in C.
... (truncated)
Commits
  • 7870253 Reject string with zero bytes as input to libpq quoting functions
  • c526484 Verify command strings and query params are rejected when with zero bytes
  • e57f6b4 Update History.txt for changed quoting methods [ci skip]
  • be1b41f Ignore timeshift for BC timestamp.
  • 9b655a5 Compare only point in time for timestamptz from the server
  • a560e34 Merge branches 'reject_zero_bytes' and 'timezone-mismatch'
  • a269ecd Switch back to a Manifest for the build.
  • c7f0546 Merge with manifest branch
  • ca83074 Bump the minor version, update history and the manifest.
  • 319c00d Added signature for changeset ca83074366ac
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

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 cancel merge will cancel a previously requested merge
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: dependabot/bundler/pg-1.1.3