version

package
v0.0.0-...-6ee8545 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2023 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Promscale                  = "0.18.0-dev"
	PrevReleaseVersion         = "0.17.0"
	CommitHash                 = ""      // Comes from -ldflags settings
	Branch                     = ""      // Comes from -ldflags settings
	EarliestUpgradeTestVersion = "0.3.0" // 0.3.0 earliest version an image with correct extension versions exists

	PgVersionNumRange = ">=12.x <16.x" // Corresponds to range within pg 12.0 to pg 15.99

	TimescaleVersionRangeString = ">=2.6.1 <2.99.0"
	TimescaleVersionRange       = semver.MustParseRange(TimescaleVersionRangeString)

	// ExtVersionRangeString is a range of required promscale extension versions
	ExtVersionRangeString = ">=0.8.0 <0.8.99"
	ExtVersionRange       = semver.MustParseRange(ExtVersionRangeString)
)

Functions

func Info

func Info() string

func VerifyPgVersion

func VerifyPgVersion(version semver.Version) bool

VerifyPgVersion verifies the Postgresql version compatibility.

func VerifyTimescaleVersion

func VerifyTimescaleVersion(version semver.Version) bool

VerifyTimescaleVersion verifies version compatibility with Timescaledb.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL