Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MinPostgresVersion = version.Must(version.NewVersion("11.0"))
Functions ¶
func ValidatePostgresConnection ¶ added in v0.21.2
ValidatePostgresConnection validates that we can actually connect to the postgres database.
func ValidatePostgresVersion ¶
ValidatePostgresVersion checks that PostgreSQL instance version available through pool is not lower than wanted version. In this case it returns nil. Otherwise returns error describing current and desired version or any other error encountered during the check.
Types ¶
Click to show internal directories.
Click to hide internal directories.