Code Monkey home page Code Monkey logo

Comments (11)

mla avatar mla commented on July 20, 2024

I see the same behavior with the latest DBI and DBD::Pg, of course:

# DBI                         Version 1.642
# DBD::Pg                     Version 3.10.0
# Perl                        Version 5.18.2
# OS                          linux
# PostgreSQL (compiled)       90614
# PostgreSQL (target)         90614
# PostgreSQL (reported)       PostgreSQL 9.6.14 on i686-pc-linux-gnu, compiled by gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-23), 32-bit

from dbdpg.

mla avatar mla commented on July 20, 2024

Strangely though, on another system, the same script does not fail:

# DBI                         Version 1.642
# DBD::Pg                     Version 3.10.0
# Perl                        Version 5.18.2
# OS                          linux
# PostgreSQL (compiled)       90615
# PostgreSQL (target)         90615
# PostgreSQL (reported)       PostgreSQL 9.6.15 on x86_64-pc-linux-gnu (Ubuntu 9.6.15-1.pgdg16.04+1), compiled by gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609, 64-bit

32- vs 64-bit difference?

from dbdpg.

mla avatar mla commented on July 20, 2024

It turned out to be commit 3929990:

Fix bug where $DBD::Pg::DBDPG_DEFAULT not picked up as a magic string first
time it is used in a script. Basically, we move the !SvAMAGIC exception for not
binding references down a little further inside dbdimp.c. RT #112309

Also the big int tests in 04misc.t is failing on 32-bit systems with:

t/04misc.t .. 1/101 DBD::Pg::st execute failed: ERROR: invalid input syntax for
integer: "-9.22337203685478e+18" at t/04misc.t line 87.

from dbdpg.

mla avatar mla commented on July 20, 2024

@joshwilliams ?

from dbdpg.

mla avatar mla commented on July 20, 2024

@turnstep?

from dbdpg.

turnstep avatar turnstep commented on July 20, 2024

On holiday but have it on todo list for 2020

from dbdpg.

mla avatar mla commented on July 20, 2024

👍 thanks!

from dbdpg.

turnstep avatar turnstep commented on July 20, 2024

That second problem (t/04misc.t on 32-bit systems) should be fixed as of version 3.10.2.

Still looking into the first.

from dbdpg.

turnstep avatar turnstep commented on July 20, 2024

Should be fixed as of 15f58c2. Please test if you are able.

from dbdpg.

mla avatar mla commented on July 20, 2024

Working perfectly for me. Thanks!

from dbdpg.

turnstep avatar turnstep commented on July 20, 2024

For the record, this is fixed in version 3.10.4

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.