Closed
Description
Hi Brian - we just got bit by #938 and I am hoping to fix the issue.
Per your comment here:
This is probably something that should be normalized within node-postgres itself rather than here in the native lib. If you wanna take a crack at it over there I'll happily review the PR!
It sounds like your proposed solution is to keep the node-postgres
error API consistent, and transform error objects coming from pg-native
, instead of:
- changing the error objects here to match the ones in the pg-native library
- changing the error objects in pg-native to match the error here.
does that sound right? i'll start working on a patch.
Metadata
Metadata
Assignees
Labels
No labels