Class PostgresqlUtil
java.lang.Object
dk.cloudcreate.essentials.components.foundation.postgresql.PostgresqlUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intgetServiceMajorVersion(org.jdbi.v3.core.Handle handle) Read the major Postgresql server version
-
Constructor Details
-
PostgresqlUtil
public PostgresqlUtil()
-
-
Method Details
-
getServiceMajorVersion
public static int getServiceMajorVersion(org.jdbi.v3.core.Handle handle) Read the major Postgresql server version- Parameters:
handle- the jdbi handle that will be used for querying- Returns:
- the major version (12, 13, 14, 15, etc.)
-