Skip to main content

Module engine_version

Module engine_version 

Source
Expand description

A version of an engine, and the platform name that carries one.

A platform is an engine at a version: postgres, or postgres@17. The engine’s name comes first, and after the last @ the version the design is for. A version is digits, with dots where the vendor uses them (8.4), and letters only after the last digit, where the vendor’s own name has them (23ai).

Two spellings are refused before anything else reads them, because the scans that keep private names out of a release would refuse them too:

  • a dot before letters, oracle@23.ai, is the shape of a mail address, and the accepted spelling is shown: oracle@23ai;
  • a colon, postgres:17, is the shape of a host and its port, and the accepted spelling is shown: postgres@17.

Structs§

EngineVersion
A version of an engine: 17, 8.4, 2022, 23ai.

Enums§

EngineVersionError
Why a spelling is not a version, with the spelling that is, where there is one.

Functions§

split_platform
A platform name, read into the engine and the version it is for.