Comments (4)
Ouch! That is a painful bug. And what a day for my laptop to fail, too. :-(
It turns out that streaming a row of data ending in an empty field (not null, but actually empty) hit a corner case that I didn't think was going to happen. Good thing that assertion was there.
I'm putting a fix up. Took a bit longer because... well... time of year plus broken laptop.
from libpqxx.
I missed the EMPTY part of your question - I now get the same result as you
from libpqxx.
@rbrugo I can confirm the latest version of this lib fixes this issue
from libpqxx.
I just tried your code and it worked perfectly with a text field I'm using 7.9
Edit
Just tried it with a varchar field and it also worked
from libpqxx.
Related Issues (20)
- Cannot connect to DB with URL HOT 4
- win32 link ws2_32 dont work HOT 17
- Compile error - error: invalid use of βthisβ at top level HOT 10
- vcpkg installation - link errors HOT 7
- Bind results of selects directly to a variable of type std::vector for array types HOT 9
- Efficient UUIDs HOT 3
- How to pass custom class to postgres function HOT 65
- PQXX_VERSION says '7.9.0' but I used tag 7.8.1 HOT 1
- User code won't compile with C++20 or C++23 HOT 4
- `splitconfig` should be `splitconfig.py`
- Is there a better way of doing this ? HOT 3
- Transaction declaration error HOT 10
- This doesn't compile on Linux HOT 9
- Array types with other containers HOT 4
- Iterator performance HOT 12
- Streams as C++20 ranges HOT 5
- Update source question HOT 6
- vcpkg libpqxx crashes upon connection destruction HOT 16
- Is calling to exec_prepared() considered as blocking operation ? HOT 2
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 libpqxx.