/** * PostgreSQL pg_stat_kcache - Shared Helpers * * Version-aware column name detection for pg_stat_kcache. */ import type { PostgresAdapter } from "../../postgres-adapter.js"; /** * Column naming in pg_stat_kcache changed in version 2.2: * - Old (< 2.2): user_time, system_time, reads, writes * - New (>= 2.2): exec_user_time, exec_system_time, exec_reads, exec_writes * * These column names are shared between the pg_stat_kcache VIEW and * the pg_stat_kcache() FUNCTION. The VIEW also has _blks variants, * but the byte-based names work for both contexts. */ export interface KcacheColumns { userTime: string; systemTime: string; reads: string; writes: string; minflts: string; majflts: string; } export declare function getKcacheColumnNames(adapter: PostgresAdapter): Promise; //# sourceMappingURL=helpers.d.ts.map