Comments (11)
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.
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.
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.
from dbdpg.
from dbdpg.
On holiday but have it on todo list for 2020
from dbdpg.
👍 thanks!
from dbdpg.
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.
Should be fixed as of 15f58c2. Please test if you are able.
from dbdpg.
Working perfectly for me. Thanks!
from dbdpg.
For the record, this is fixed in version 3.10.4
from dbdpg.
Related Issues (20)
- Value trimmed upon insert HOT 4
- Tests fail if root's shell is not a Bourne shell HOT 6
- Statement handle DESTROY slurps pending async queries
- Tests fail to start new DB: pg_ctl: unrecognized operation mode HOT 4
- DBD::Pg 3.16.0 tests fail HOT 11
- Dying with non-ASCII utf8 DB message, with use warnings FATAL => 'all'; leads to "Wide character in subroutine entry" error message with DB-message omitted HOT 6
- Old postgresql client has trouble with new DBD::Pg versions due to bug in old postgresql client libraries HOT 3
- Error building DBD::Pg on macOS Monterey HOT 5
- META.yaml should be META.yml HOT 4
- DBD::Pg builds are failing to produce MYMETA.json files HOT 3
- Simple select of jsonb field returning empty result when field is NULL HOT 6
- Change in result type of EXTRACT() with Pg14 upwards not handled HOT 1
- MERGE INTO statement handles not returning total count of rows affected HOT 2
- Can't load Pg.so on Ubuntu 20.04 and Postgres 8.3.5 - tries to use lo_import_with_oid HOT 1
- Test fails on my system for DBD-Pg-3.15.1-1 HOT 2
- Error in tests if localization is enabled and install by root HOT 1
- Compile error 'initdb' not recognized for ver 3.15.1 HOT 4
- Set utf8 flag in pg_db_error_field HOT 2
- Hanging execution of queries like "COPY TO STDIN" in asynchronous mode. HOT 2
- t/03smethod.t fails with DBI v1.641 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dbdpg.