Giter Club home page Giter Club logo

Comments (5)

jonjensen avatar jonjensen commented on August 22, 2024 2

@masterchiefaragorn Thanks for reporting this! I found using git bisect that the bug was introduced between version 2.19.3 and 2.20.1_2 on 2 July 2013.

I added a unit test that demonstrates the problem and found a couple of ways to fix it in #73 and #74 and want to hear back from the primary author @turnstep on:

  • which fix is better
  • whether there could be negative side effects from them
  • whether we need similar fixes elsewhere in the code

@machack666 You may be interested to take a look at this too.

from dbdpg.

masterchiefaragorn avatar masterchiefaragorn commented on August 22, 2024 1

@jonjensen, Thanks for jumping on this! It's likely not necessary to say this, but this bug also manifests for the more-oft-used fetch() method, since that is an alias to fetchrow_arrayref().

I'm surprised that our team has gone 7 years without encountering this.

from dbdpg.

masterchiefaragorn avatar masterchiefaragorn commented on August 22, 2024 1

Thanks, @jonjensen and @turnstep! I've rolled this out to one production server to see how it behaves in the real world.

from dbdpg.

turnstep avatar turnstep commented on August 22, 2024 1

This is now part of the 3.13.0 release

from dbdpg.

jonjensen avatar jonjensen commented on August 22, 2024

Sadly I can confirm this problem exists on Perl 5.22.0 + DBD::Pg 3.12.0 + Postgres 12. I used nearly your identical script.

The problem did not exist on Perl 5.14.1 + DBD::Pg 2.18.1 + Postgres 9.2.

from dbdpg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.