Skip to content

Bump sequel_pg from 1.18.2 to 1.19.0#896

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/bundler/sequel_pg-1.19.0
Open

Bump sequel_pg from 1.18.2 to 1.19.0#896
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/bundler/sequel_pg-1.19.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 9, 2026

Bumps sequel_pg from 1.18.2 to 1.19.0.

Changelog

Sourced from sequel_pg's changelog.

=== 1.19.0 (2026-03-06)

  • Cancel the query if an exception is raised while streaming query results (jtmkrueger, jeremyevans) (#66)
Commits
  • c6459b7 Bump version to 1.19.0
  • 8cdb792 Use PQcancelCreate if available
  • 13ad4de Add comprehensive tests for streaming query cancellation
  • d4400e0 Cancel in-progress query before draining results on streaming interrupt
  • 9ab60aa Add PQgetCancel detection to extconf
  • a158ccd Add Ruby 4.0 to CI
  • See full diff 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.


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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 [sequel_pg](https://github.com/jeremyevans/sequel_pg) from 1.18.2 to 1.19.0.
- [Changelog](https://github.com/jeremyevans/sequel_pg/blob/master/CHANGELOG)
- [Commits](jeremyevans/sequel_pg@1.18.2...1.19.0)

---
updated-dependencies:
- dependency-name: sequel_pg
  dependency-version: 1.19.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies ruby Pull requests that update Ruby code labels Mar 9, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

4 similar comments
@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

gem compare sequel_pg 1.18.2 1.19.0

Compared versions: ["1.18.2", "1.19.0"]
  DIFFERENT require_paths:
    1.18.2: ["/opt/hostedtoolcache/Ruby/4.0.1/x64/lib/ruby/gems/4.0.0/extensions/x86_64-linux/4.0.0/sequel_pg-1.18.2", "lib"]
    1.19.0: ["/opt/hostedtoolcache/Ruby/4.0.1/x64/lib/ruby/gems/4.0.0/extensions/x86_64-linux/4.0.0/sequel_pg-1.19.0", "lib"]
  DIFFERENT rubygems_version:
    1.18.2: 3.6.9
    1.19.0: 4.0.3
  DIFFERENT version:
    1.18.2: 1.18.2
    1.19.0: 1.19.0
  DIFFERENT files:
    1.18.2->1.19.0:
      * Changed:
            CHANGELOG +4/-0
            ext/sequel_pg/extconf.rb +1/-0
            ext/sequel_pg/sequel_pg.c +34/-2
  DIFFERENT extra_rdoc_files:
    1.18.2->1.19.0:
      * Changed:
            CHANGELOG +4/-0

4 similar comments
@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

gem compare sequel_pg 1.18.2 1.19.0

Compared versions: ["1.18.2", "1.19.0"]
  DIFFERENT require_paths:
    1.18.2: ["/opt/hostedtoolcache/Ruby/4.0.1/x64/lib/ruby/gems/4.0.0/extensions/x86_64-linux/4.0.0/sequel_pg-1.18.2", "lib"]
    1.19.0: ["/opt/hostedtoolcache/Ruby/4.0.1/x64/lib/ruby/gems/4.0.0/extensions/x86_64-linux/4.0.0/sequel_pg-1.19.0", "lib"]
  DIFFERENT rubygems_version:
    1.18.2: 3.6.9
    1.19.0: 4.0.3
  DIFFERENT version:
    1.18.2: 1.18.2
    1.19.0: 1.19.0
  DIFFERENT files:
    1.18.2->1.19.0:
      * Changed:
            CHANGELOG +4/-0
            ext/sequel_pg/extconf.rb +1/-0
            ext/sequel_pg/sequel_pg.c +34/-2
  DIFFERENT extra_rdoc_files:
    1.18.2->1.19.0:
      * Changed:
            CHANGELOG +4/-0

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

gem compare sequel_pg 1.18.2 1.19.0

Compared versions: ["1.18.2", "1.19.0"]
  DIFFERENT require_paths:
    1.18.2: ["/opt/hostedtoolcache/Ruby/4.0.1/x64/lib/ruby/gems/4.0.0/extensions/x86_64-linux/4.0.0/sequel_pg-1.18.2", "lib"]
    1.19.0: ["/opt/hostedtoolcache/Ruby/4.0.1/x64/lib/ruby/gems/4.0.0/extensions/x86_64-linux/4.0.0/sequel_pg-1.19.0", "lib"]
  DIFFERENT rubygems_version:
    1.18.2: 3.6.9
    1.19.0: 4.0.3
  DIFFERENT version:
    1.18.2: 1.18.2
    1.19.0: 1.19.0
  DIFFERENT files:
    1.18.2->1.19.0:
      * Changed:
            CHANGELOG +4/-0
            ext/sequel_pg/extconf.rb +1/-0
            ext/sequel_pg/sequel_pg.c +34/-2
  DIFFERENT extra_rdoc_files:
    1.18.2->1.19.0:
      * Changed:
            CHANGELOG +4/-0

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

gem compare sequel_pg 1.18.2 1.19.0

Compared versions: ["1.18.2", "1.19.0"]
  DIFFERENT require_paths:
    1.18.2: ["/opt/hostedtoolcache/Ruby/4.0.1/x64/lib/ruby/gems/4.0.0/extensions/x86_64-linux/4.0.0/sequel_pg-1.18.2", "lib"]
    1.19.0: ["/opt/hostedtoolcache/Ruby/4.0.1/x64/lib/ruby/gems/4.0.0/extensions/x86_64-linux/4.0.0/sequel_pg-1.19.0", "lib"]
  DIFFERENT rubygems_version:
    1.18.2: 3.6.9
    1.19.0: 4.0.3
  DIFFERENT version:
    1.18.2: 1.18.2
    1.19.0: 1.19.0
  DIFFERENT files:
    1.18.2->1.19.0:
      * Changed:
            CHANGELOG +4/-0
            ext/sequel_pg/extconf.rb +1/-0
            ext/sequel_pg/sequel_pg.c +34/-2
  DIFFERENT extra_rdoc_files:
    1.18.2->1.19.0:
      * Changed:
            CHANGELOG +4/-0

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

gem compare sequel_pg 1.18.2 1.19.0

Compared versions: ["1.18.2", "1.19.0"]
  DIFFERENT require_paths:
    1.18.2: ["/opt/hostedtoolcache/Ruby/4.0.1/x64/lib/ruby/gems/4.0.0/extensions/x86_64-linux/4.0.0/sequel_pg-1.18.2", "lib"]
    1.19.0: ["/opt/hostedtoolcache/Ruby/4.0.1/x64/lib/ruby/gems/4.0.0/extensions/x86_64-linux/4.0.0/sequel_pg-1.19.0", "lib"]
  DIFFERENT rubygems_version:
    1.18.2: 3.6.9
    1.19.0: 4.0.3
  DIFFERENT version:
    1.18.2: 1.18.2
    1.19.0: 1.19.0
  DIFFERENT files:
    1.18.2->1.19.0:
      * Changed:
            CHANGELOG +4/-0
            ext/sequel_pg/extconf.rb +1/-0
            ext/sequel_pg/sequel_pg.c +34/-2
  DIFFERENT extra_rdoc_files:
    1.18.2->1.19.0:
      * Changed:
            CHANGELOG +4/-0

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

gem compare --diff sequel_pg 1.18.2 1.19.0

Compared versions: ["1.18.2", "1.19.0"]
  DIFFERENT files:
    1.18.2->1.19.0:
      * Changed:
        CHANGELOG
                --- /tmp/d20260309-606-rbfxun/sequel_pg-1.18.2/CHANGELOG	2026-03-09 03:33:11.247007290 +0000
                +++ /tmp/d20260309-606-rbfxun/sequel_pg-1.19.0/CHANGELOG	2026-03-09 03:33:11.249007306 +0000
                @@ -0,0 +1,4 @@
                +=== 1.19.0 (2026-03-06)
                +
                +* Cancel the query if an exception is raised while streaming query results (jtmkrueger, jeremyevans) (#66)
                +
        ext/sequel_pg/extconf.rb
                --- /tmp/d20260309-606-rbfxun/sequel_pg-1.18.2/ext/sequel_pg/extconf.rb	2026-03-09 03:33:11.248007298 +0000
                +++ /tmp/d20260309-606-rbfxun/sequel_pg-1.19.0/ext/sequel_pg/extconf.rb	2026-03-09 03:33:11.249007306 +0000
                @@ -12,0 +13 @@
                +  have_func 'PQcancelCreate'
        ext/sequel_pg/sequel_pg.c
                --- /tmp/d20260309-606-rbfxun/sequel_pg-1.18.2/ext/sequel_pg/sequel_pg.c	2026-03-09 03:33:11.248007298 +0000
                +++ /tmp/d20260309-606-rbfxun/sequel_pg-1.19.0/ext/sequel_pg/sequel_pg.c	2026-03-09 03:33:11.250007314 +0000
                @@ -1 +1 @@
                -#define SEQUEL_PG_VERSION_INTEGER 11802
                +#define SEQUEL_PG_VERSION_INTEGER 11900
                @@ -2006,0 +2007,32 @@
                +  /* Only cancel if an exception is being unwound. During normal
                +   * completion, the query has already finished and there are no
                +   * results to drain, so canceling is unnecessary. */
                +  if (rb_errinfo() != Qnil) {
                +#ifdef HAVE_PQCANCELCREATE
                +    PGcancelConn *cancel = PQcancelCreate(conn);
                +    if (cancel) {
                +      int cancel_ok = PQcancelBlocking(cancel);
                +      PQcancelFinish(cancel);
                +#else
                +    PGcancel *cancel = PQgetCancel(conn);
                +    if (cancel) {
                +      char errbuf[256];
                +      int cancel_ok = PQcancel(cancel, errbuf, sizeof(errbuf));
                +      PQfreeCancel(cancel);
                +#endif
                +
                +      if (cancel_ok) {
                +        /* Cancel succeeded. Drain remaining results without raising.
                +         * The cancel produces an expected error result ("canceling
                +         * statement due to user request"). The original exception
                +         * will propagate via rb_ensure. */
                +        while ((res = PQgetResult(conn)) != NULL) {
                +          PQclear(res);
                +        }
                +        return rconn;
                +      }
                +      /* Cancel failed. Fallthrough to the normal drain loop which
                +       * will check for and report any real errors. */
                +    }
                +  }
                +
                @@ -2022 +2054 @@
                -  
                +

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

gem compare --diff sequel_pg 1.18.2 1.19.0

Compared versions: ["1.18.2", "1.19.0"]
  DIFFERENT files:
    1.18.2->1.19.0:
      * Changed:
        CHANGELOG
                --- /tmp/d20260309-368-yog81f/sequel_pg-1.18.2/CHANGELOG	2026-03-09 03:33:11.453984376 +0000
                +++ /tmp/d20260309-368-yog81f/sequel_pg-1.19.0/CHANGELOG	2026-03-09 03:33:11.455984399 +0000
                @@ -0,0 +1,4 @@
                +=== 1.19.0 (2026-03-06)
                +
                +* Cancel the query if an exception is raised while streaming query results (jtmkrueger, jeremyevans) (#66)
                +
        ext/sequel_pg/extconf.rb
                --- /tmp/d20260309-368-yog81f/sequel_pg-1.18.2/ext/sequel_pg/extconf.rb	2026-03-09 03:33:11.454984387 +0000
                +++ /tmp/d20260309-368-yog81f/sequel_pg-1.19.0/ext/sequel_pg/extconf.rb	2026-03-09 03:33:11.455984399 +0000
                @@ -12,0 +13 @@
                +  have_func 'PQcancelCreate'
        ext/sequel_pg/sequel_pg.c
                --- /tmp/d20260309-368-yog81f/sequel_pg-1.18.2/ext/sequel_pg/sequel_pg.c	2026-03-09 03:33:11.454984387 +0000
                +++ /tmp/d20260309-368-yog81f/sequel_pg-1.19.0/ext/sequel_pg/sequel_pg.c	2026-03-09 03:33:11.456984410 +0000
                @@ -1 +1 @@
                -#define SEQUEL_PG_VERSION_INTEGER 11802
                +#define SEQUEL_PG_VERSION_INTEGER 11900
                @@ -2006,0 +2007,32 @@
                +  /* Only cancel if an exception is being unwound. During normal
                +   * completion, the query has already finished and there are no
                +   * results to drain, so canceling is unnecessary. */
                +  if (rb_errinfo() != Qnil) {
                +#ifdef HAVE_PQCANCELCREATE
                +    PGcancelConn *cancel = PQcancelCreate(conn);
                +    if (cancel) {
                +      int cancel_ok = PQcancelBlocking(cancel);
                +      PQcancelFinish(cancel);
                +#else
                +    PGcancel *cancel = PQgetCancel(conn);
                +    if (cancel) {
                +      char errbuf[256];
                +      int cancel_ok = PQcancel(cancel, errbuf, sizeof(errbuf));
                +      PQfreeCancel(cancel);
                +#endif
                +
                +      if (cancel_ok) {
                +        /* Cancel succeeded. Drain remaining results without raising.
                +         * The cancel produces an expected error result ("canceling
                +         * statement due to user request"). The original exception
                +         * will propagate via rb_ensure. */
                +        while ((res = PQgetResult(conn)) != NULL) {
                +          PQclear(res);
                +        }
                +        return rconn;
                +      }
                +      /* Cancel failed. Fallthrough to the normal drain loop which
                +       * will check for and report any real errors. */
                +    }
                +  }
                +
                @@ -2022 +2054 @@
                -  
                +

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

gem compare --diff sequel_pg 1.18.2 1.19.0

Compared versions: ["1.18.2", "1.19.0"]
  DIFFERENT files:
    1.18.2->1.19.0:
      * Changed:
        CHANGELOG
                --- /tmp/d20260309-336-lha6bc/sequel_pg-1.18.2/CHANGELOG	2026-03-09 03:33:11.933225471 +0000
                +++ /tmp/d20260309-336-lha6bc/sequel_pg-1.19.0/CHANGELOG	2026-03-09 03:33:11.934225471 +0000
                @@ -0,0 +1,4 @@
                +=== 1.19.0 (2026-03-06)
                +
                +* Cancel the query if an exception is raised while streaming query results (jtmkrueger, jeremyevans) (#66)
                +
        ext/sequel_pg/extconf.rb
                --- /tmp/d20260309-336-lha6bc/sequel_pg-1.18.2/ext/sequel_pg/extconf.rb	2026-03-09 03:33:11.933225471 +0000
                +++ /tmp/d20260309-336-lha6bc/sequel_pg-1.19.0/ext/sequel_pg/extconf.rb	2026-03-09 03:33:11.936225473 +0000
                @@ -12,0 +13 @@
                +  have_func 'PQcancelCreate'
        ext/sequel_pg/sequel_pg.c
                --- /tmp/d20260309-336-lha6bc/sequel_pg-1.18.2/ext/sequel_pg/sequel_pg.c	2026-03-09 03:33:11.933225471 +0000
                +++ /tmp/d20260309-336-lha6bc/sequel_pg-1.19.0/ext/sequel_pg/sequel_pg.c	2026-03-09 03:33:11.936225473 +0000
                @@ -1 +1 @@
                -#define SEQUEL_PG_VERSION_INTEGER 11802
                +#define SEQUEL_PG_VERSION_INTEGER 11900
                @@ -2006,0 +2007,32 @@
                +  /* Only cancel if an exception is being unwound. During normal
                +   * completion, the query has already finished and there are no
                +   * results to drain, so canceling is unnecessary. */
                +  if (rb_errinfo() != Qnil) {
                +#ifdef HAVE_PQCANCELCREATE
                +    PGcancelConn *cancel = PQcancelCreate(conn);
                +    if (cancel) {
                +      int cancel_ok = PQcancelBlocking(cancel);
                +      PQcancelFinish(cancel);
                +#else
                +    PGcancel *cancel = PQgetCancel(conn);
                +    if (cancel) {
                +      char errbuf[256];
                +      int cancel_ok = PQcancel(cancel, errbuf, sizeof(errbuf));
                +      PQfreeCancel(cancel);
                +#endif
                +
                +      if (cancel_ok) {
                +        /* Cancel succeeded. Drain remaining results without raising.
                +         * The cancel produces an expected error result ("canceling
                +         * statement due to user request"). The original exception
                +         * will propagate via rb_ensure. */
                +        while ((res = PQgetResult(conn)) != NULL) {
                +          PQclear(res);
                +        }
                +        return rconn;
                +      }
                +      /* Cancel failed. Fallthrough to the normal drain loop which
                +       * will check for and report any real errors. */
                +    }
                +  }
                +
                @@ -2022 +2054 @@
                -  
                +

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

gem compare --diff sequel_pg 1.18.2 1.19.0

Compared versions: ["1.18.2", "1.19.0"]
  DIFFERENT files:
    1.18.2->1.19.0:
      * Changed:
        CHANGELOG
                --- /tmp/d20260309-424-2sjh10/sequel_pg-1.18.2/CHANGELOG	2026-03-09 03:33:16.809062735 +0000
                +++ /tmp/d20260309-424-2sjh10/sequel_pg-1.19.0/CHANGELOG	2026-03-09 03:33:16.810062736 +0000
                @@ -0,0 +1,4 @@
                +=== 1.19.0 (2026-03-06)
                +
                +* Cancel the query if an exception is raised while streaming query results (jtmkrueger, jeremyevans) (#66)
                +
        ext/sequel_pg/extconf.rb
                --- /tmp/d20260309-424-2sjh10/sequel_pg-1.18.2/ext/sequel_pg/extconf.rb	2026-03-09 03:33:16.809062735 +0000
                +++ /tmp/d20260309-424-2sjh10/sequel_pg-1.19.0/ext/sequel_pg/extconf.rb	2026-03-09 03:33:16.811062737 +0000
                @@ -12,0 +13 @@
                +  have_func 'PQcancelCreate'
        ext/sequel_pg/sequel_pg.c
                --- /tmp/d20260309-424-2sjh10/sequel_pg-1.18.2/ext/sequel_pg/sequel_pg.c	2026-03-09 03:33:16.810062736 +0000
                +++ /tmp/d20260309-424-2sjh10/sequel_pg-1.19.0/ext/sequel_pg/sequel_pg.c	2026-03-09 03:33:16.811062737 +0000
                @@ -1 +1 @@
                -#define SEQUEL_PG_VERSION_INTEGER 11802
                +#define SEQUEL_PG_VERSION_INTEGER 11900
                @@ -2006,0 +2007,32 @@
                +  /* Only cancel if an exception is being unwound. During normal
                +   * completion, the query has already finished and there are no
                +   * results to drain, so canceling is unnecessary. */
                +  if (rb_errinfo() != Qnil) {
                +#ifdef HAVE_PQCANCELCREATE
                +    PGcancelConn *cancel = PQcancelCreate(conn);
                +    if (cancel) {
                +      int cancel_ok = PQcancelBlocking(cancel);
                +      PQcancelFinish(cancel);
                +#else
                +    PGcancel *cancel = PQgetCancel(conn);
                +    if (cancel) {
                +      char errbuf[256];
                +      int cancel_ok = PQcancel(cancel, errbuf, sizeof(errbuf));
                +      PQfreeCancel(cancel);
                +#endif
                +
                +      if (cancel_ok) {
                +        /* Cancel succeeded. Drain remaining results without raising.
                +         * The cancel produces an expected error result ("canceling
                +         * statement due to user request"). The original exception
                +         * will propagate via rb_ensure. */
                +        while ((res = PQgetResult(conn)) != NULL) {
                +          PQclear(res);
                +        }
                +        return rconn;
                +      }
                +      /* Cancel failed. Fallthrough to the normal drain loop which
                +       * will check for and report any real errors. */
                +    }
                +  }
                +
                @@ -2022 +2054 @@
                -  
                +

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

gem compare --diff sequel_pg 1.18.2 1.19.0

Compared versions: ["1.18.2", "1.19.0"]
  DIFFERENT files:
    1.18.2->1.19.0:
      * Changed:
        CHANGELOG
                --- /tmp/d20260309-390-lz1wqe/sequel_pg-1.18.2/CHANGELOG	2026-03-09 03:33:17.737417458 +0000
                +++ /tmp/d20260309-390-lz1wqe/sequel_pg-1.19.0/CHANGELOG	2026-03-09 03:33:17.739417451 +0000
                @@ -0,0 +1,4 @@
                +=== 1.19.0 (2026-03-06)
                +
                +* Cancel the query if an exception is raised while streaming query results (jtmkrueger, jeremyevans) (#66)
                +
        ext/sequel_pg/extconf.rb
                --- /tmp/d20260309-390-lz1wqe/sequel_pg-1.18.2/ext/sequel_pg/extconf.rb	2026-03-09 03:33:17.737417458 +0000
                +++ /tmp/d20260309-390-lz1wqe/sequel_pg-1.19.0/ext/sequel_pg/extconf.rb	2026-03-09 03:33:17.739417451 +0000
                @@ -12,0 +13 @@
                +  have_func 'PQcancelCreate'
        ext/sequel_pg/sequel_pg.c
                --- /tmp/d20260309-390-lz1wqe/sequel_pg-1.18.2/ext/sequel_pg/sequel_pg.c	2026-03-09 03:33:17.738417454 +0000
                +++ /tmp/d20260309-390-lz1wqe/sequel_pg-1.19.0/ext/sequel_pg/sequel_pg.c	2026-03-09 03:33:17.740417447 +0000
                @@ -1 +1 @@
                -#define SEQUEL_PG_VERSION_INTEGER 11802
                +#define SEQUEL_PG_VERSION_INTEGER 11900
                @@ -2006,0 +2007,32 @@
                +  /* Only cancel if an exception is being unwound. During normal
                +   * completion, the query has already finished and there are no
                +   * results to drain, so canceling is unnecessary. */
                +  if (rb_errinfo() != Qnil) {
                +#ifdef HAVE_PQCANCELCREATE
                +    PGcancelConn *cancel = PQcancelCreate(conn);
                +    if (cancel) {
                +      int cancel_ok = PQcancelBlocking(cancel);
                +      PQcancelFinish(cancel);
                +#else
                +    PGcancel *cancel = PQgetCancel(conn);
                +    if (cancel) {
                +      char errbuf[256];
                +      int cancel_ok = PQcancel(cancel, errbuf, sizeof(errbuf));
                +      PQfreeCancel(cancel);
                +#endif
                +
                +      if (cancel_ok) {
                +        /* Cancel succeeded. Drain remaining results without raising.
                +         * The cancel produces an expected error result ("canceling
                +         * statement due to user request"). The original exception
                +         * will propagate via rb_ensure. */
                +        while ((res = PQgetResult(conn)) != NULL) {
                +          PQclear(res);
                +        }
                +        return rconn;
                +      }
                +      /* Cancel failed. Fallthrough to the normal drain loop which
                +       * will check for and report any real errors. */
                +    }
                +  }
                +
                @@ -2022 +2054 @@
                -  
                +

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies ruby Pull requests that update Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants