Thanks to visit codestin.com Credit goes to github.com
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.
1 parent 39c8745 commit ae4b8d1Copy full SHA for ae4b8d1
src/lib.rs
@@ -421,7 +421,7 @@ 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
+ // Some Postgres-like databases are missing a pg_catalog (e.g. Cockroach)
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!(),
0 commit comments