Skip to main content

is_supported

Function is_supported 

Source
pub fn is_supported<V: Into<Version>>(version: V) -> bool
Expand description

Does pgdo support the given version of PostgreSQL?

This is pgdo’s policy, separate from the version module, which can parse and represent any version of PostgreSQL. See MINIMUM_VERSION.

Note that version::Version orders all pre-10 versions before 10 and later, so a plain comparison works across both versioning schemes.