From ae4b8d1fa1e5aa128b04b4f25b56c83bcdcbe602 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Thu, 26 May 2016 20:33:14 -0700 Subject: [PATCH] Slightly tweak comment Probably worth mentioning the specific DBs here. --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 8c2d2fbd..c3234a48 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -421,7 +421,7 @@ impl InnerConnection { Err(Error::Io(e)) => return Err(ConnectError::Io(e)), // Old versions of Postgres and things like Redshift don't support enums Err(Error::Db(ref e)) if e.code == SqlState::UndefinedTable => {} - // Some Postgres compliant databases are missing a pg_catalog + // Some Postgres-like databases are missing a pg_catalog (e.g. Cockroach) Err(Error::Db(ref e)) if e.code == SqlState::InvalidCatalogName => return Ok(()), Err(Error::Db(e)) => return Err(ConnectError::Db(e)), Err(Error::Conversion(_)) => unreachable!(),