Comments (3)
Okay, okay, I'll change it!
What is the "the standard" that you're referring to? I'd like to have a look first. The SQL language-bindings recommendations?
from libpqxx.
Ah, the standard for SQLSTATE I guess. It seems a little too much to introduce it for all client-side exceptions... For now I'm just adding it to sql_error.
from libpqxx.
Okay — I just tagged 5.0.0, and added sql_error::sqlstate() in 5.0.1. Please let me know how it works for you.
Important to know that the field can be empty, in cases where no sqlstate is known. As you say we can extend this later by synthesising values, and perhaps moving the new information up the inheritance hierarchy.
from libpqxx.
Related Issues (20)
- Iterator performance HOT 12
- Streams as C++20 ranges HOT 5
- Stream fails parsing empty `varchar`/`text` fields HOT 4
- Update source question HOT 6
- vcpkg libpqxx crashes upon connection destruction HOT 16
- Is calling to exec_prepared() considered as blocking operation ? HOT 2
- Not an issue but a favour request HOT 1
- Is it possible to build libpqxx without SSL support HOT 2
- CMakeLists.txt update c++ standard to 20 HOT 4
- Usage with meson? HOT 2
- More Documentation for INSERT HOT 5
- [Build failure] undefined reference to `pqxx::argument_error::argument_error` HOT 7
- have libpqxx subscribe to a channel HOT 4
- subscribing to two trigger channels HOT 4
- Receiving false positive signals through conn.await_notification() HOT 2
- Converting TIMESTAMP datatypes into a std::chrono::time_point HOT 8
- Docs gone since 7.9 HOT 31
- Error building a project with the library HOT 8
- Building with bazel error: "ar: libdeps specified more than once" or "undefined reference to PQ" HOT 7
- Make of libpqxx on Red Hat Enterprise Linux 8.8 fails HOT 6
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.