Class PostgresqlUtil


  • public class PostgresqlUtil
    extends Object
    • Constructor Detail

      • PostgresqlUtil

        public PostgresqlUtil()
    • Method Detail

      • 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.)