pub const RETIRED_TABLE_PREFIX: &str = "__ig_retired_";runtime only.Expand description
The prefix every retired-ledger table’s name carries — the framework’s own reserved stem.
__ig_ is what every identifier this framework mints rather than reads off a declaration wears,
one module over: a companion column, a derived index, an unnested alias. A ledger table is the
same kind of thing — nobody declared it, and the prefix is what says so to a person reading a
schema.
§It is PINNED to the reserved namespace, at compile time
The emission-prefix seat’s own shape, taken the way a RUNTIME mint can take it. A ledger table’s
name is not emitted: families are opened rather than declared, so the name is minted here, at run
time, from a family this crate learns at run time — and EmissionPrefix is ingraph-codegen’s
type, which this crate cannot name. What the seat asks of a mint is that the mark be ONE value
rather than a copy per site, and the catalog’s own DDL prefix already answers that the only way
a runtime literal can: it states the bytes a reader can see whole and ASSERTS the agreement, so
a namespace that moves without this moving is a compile error rather than a schema that
disagrees with itself.
This is the SAME pin, over the same checker rather than a second copy of it — see
leads_with. It rides sqlx because that is where the reserved namespace
const lives, which is every build that can put this name into a statement at all.
In the seat’s own vocabulary the shape is prefixed, not framed: a ledger table is a minted
OBJECT rather than a synthesized column, so it wears the mark in front and no __ behind.