Open TimoGlastra opened 1 year ago
Hmm it seems to be an neon.tech issue as they are using the incorrect error code for a db not found.
relevant snippet:
So the best thing would be for neon.tech to throw the correct error code for this message and not change anything in Askar as I think that this is the correct way to deal with this issue.
I don't think there's an issue for this in the neon database repo is there?
Maybe this is a neon.tech issue, but the
open
method in the postgresql provision.rs, checks whether the error code is3D000
(invalid catalog name) and then assumes the database does not exist. However neon.tech will throw an errorXX000
(internal error), with the messagedatabase "my-wallet4" does not exist
. This means the normal flow will fail.Is there something we can do to still treat this as "NotFound"?