Class PostgresUtilities


  • public final class PostgresUtilities
    extends Object

    Utilities specific to PostgreSQL.

    Since:
    2017.2.3
    Author:
    Andrey Shcheglov <mailto:andrey.shcheglov@jetbrains.com>
    • Field Detail

      • TEMP_TABLE_STATISTICS_QUERY

        @NotNull
        public static final String TEMP_TABLE_STATISTICS_QUERY

        The query used to read the statistics for a temporary table. Parameters:

        • the name of the temporary table.

        See Also:
        "pg_stat_user_tables", Constant Field Values
    • Method Detail

      • getVacuumTempTables

        public static boolean getVacuumTempTables()

        Returns whether temporary tables should be VACUUM'ed (not only ANALYZE'ed) when not inside a transaction block.

        Returns:
        true if temporary tables should be both VACUUM'ed and ANALYZE'ed, false if ANALYZE'ed only.