This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.github.rewstapp.packauthoring.openapi.vcs.impl | |
import com.github.rewstapp.packauthoring.psi.search.scope.packageSet.BranchChangedFilesCustomScopesProvider | |
import com.github.rewstapp.packauthoring.settings.PackAuthoringSettings | |
import com.intellij.diff.DiffApplicationSettings | |
import com.intellij.diff.DiffContentFactory | |
import com.intellij.diff.DiffManager | |
import com.intellij.diff.comparison.ByWord | |
import com.intellij.diff.comparison.ComparisonPolicy | |
import com.intellij.diff.contents.DiffContent |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Sizes of all tables in the public schema | |
SELECT | |
table_name AS "Table", | |
pg_size_pretty(table_size) AS "Table Size", | |
pg_size_pretty(indexes_size) AS "Indexes Size", | |
pg_size_pretty(toast_size) AS "Toast Size", | |
pg_size_pretty(total_size) AS "Total Size" | |
FROM ( | |
SELECT | |
table_name, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import annotations | |
from collections import defaultdict | |
from dataclasses import dataclass, field | |
from typing import Iterable, Self | |
from preloaded import open | |
OlderNewer