We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 309f283 + ab2f330 commit 39c8745Copy full SHA for 39c8745
src/lib.rs
@@ -421,6 +421,8 @@ impl InnerConnection {
421
Err(Error::Io(e)) => return Err(ConnectError::Io(e)),
422
// Old versions of Postgres and things like Redshift don't support enums
423
Err(Error::Db(ref e)) if e.code == SqlState::UndefinedTable => {}
424
+ // Some Postgres compliant databases are missing a pg_catalog
425
+ Err(Error::Db(ref e)) if e.code == SqlState::InvalidCatalogName => return Ok(()),
426
Err(Error::Db(e)) => return Err(ConnectError::Db(e)),
427
Err(Error::Conversion(_)) => unreachable!(),
428
}
0 commit comments