Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Check version compatability against postgres-like flavors.
Synopsis
Cockroach
data CockroachDbVersion Source #
Cockroach version
Instances
Show CockroachDbVersion Source # | |
Defined in Hasura.Backends.Postgres.Connection.VersionCheck showsPrec :: Int -> CockroachDbVersion -> ShowS # show :: CockroachDbVersion -> String # showList :: [CockroachDbVersion] -> ShowS # | |
Eq CockroachDbVersion Source # | |
Defined in Hasura.Backends.Postgres.Connection.VersionCheck (==) :: CockroachDbVersion -> CockroachDbVersion -> Bool # (/=) :: CockroachDbVersion -> CockroachDbVersion -> Bool # |
runCockroachVersionCheck :: Environment -> PostgresConnConfiguration -> IO (Either QErr ()) Source #
Check cockroachdb version compatability.
crdbVersionIsSupported :: CockroachDbVersion -> Bool Source #
Check version is >= 22.2.0 https://hasura.io/docs/latest/databases/postgres/cockroachdb/index
parseCrdbVersion :: Text -> Either ParseError CockroachDbVersion Source #
Parse a cockroachDB version string