Commit 3d89dde7 authored by Krzysztof Leśniak's avatar Krzysztof Leśniak Committed by Bartek Wrona
Browse files

Improve C++/Postgres error handling

- Add call to `FlushErrorState`. This is required for deeply nested calls to pg_call_cxx/cxx_call_pg.
- Do not switch back to `errorContext` at the end of PG_CATCH. Looking
at existing Postgres code this is being done only before calling `PG_RE_THROW`.
parent 3b0b637b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment