Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ae4b8d1

Browse files
committed
Slightly tweak comment
Probably worth mentioning the specific DBs here.
1 parent 39c8745 commit ae4b8d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ impl InnerConnection {
421421
Err(Error::Io(e)) => return Err(ConnectError::Io(e)),
422422
// Old versions of Postgres and things like Redshift don't support enums
423423
Err(Error::Db(ref e)) if e.code == SqlState::UndefinedTable => {}
424-
// Some Postgres compliant databases are missing a pg_catalog
424+
// Some Postgres-like databases are missing a pg_catalog (e.g. Cockroach)
425425
Err(Error::Db(ref e)) if e.code == SqlState::InvalidCatalogName => return Ok(()),
426426
Err(Error::Db(e)) => return Err(ConnectError::Db(e)),
427427
Err(Error::Conversion(_)) => unreachable!(),

0 commit comments

Comments
 (0)