Set of function/procedure names that were successfully converted (not skipped). Used by GrantRule to skip grants on functions that don't exist. Names are stored as-is (case-sensitive, without schema prefix).
Set of view names that were successfully converted (not skipped). Used by GrantRule to skip grants on views that don't exist.
Hand-written function replacements keyed by lowercase function name
Whether the source file contains DDL changes (ALTER TABLE, CREATE TABLE) that could change view column lists. When true, ViewRule emits DROP VIEW CASCADE before CREATE OR REPLACE VIEW. When false, it only emits CREATE OR REPLACE VIEW to avoid cascade-dropping dependent functions.
Target schema name (e.g., '__mj')
Source SQL dialect (e.g., 'tsql')
Accumulated column type info from CREATE TABLE statements. Used by INSERT rules for boolean casting (0→false, 1→true for BOOLEAN columns). Map: tableName (lowercase) → Map(columnName lowercase → pgType uppercase)
Target SQL dialect (e.g., 'postgres')
Shared context passed through the conversion pipeline. Accumulates state (e.g., column types from CREATE TABLE for boolean casting).