One extracted literal value: the normalizer’s own small vocabulary (the
parser crate does not depend on the engine’s value type). The facade
converts these into parameter values at the one boundary where both
exist.
Whether a rendered result column carries the auto-parameter prefix
(the compiled plan spells an unaliased auto-extracted item as the
placeholder) — the text-level half of the epilogue’s re-parse
trigger, beside the name-level name_is_auto_parameter: the two
consult one prefix, one on names the plan holds typed, one on the
column text the plan rendered.
Whether name is an auto-parameter name ([AUTO_PARAM_PREFIX]) —
the one spelling of the prefix test, shared by the caller-map
boundary above and the planner’s auto-parameter plan predicate (the
dispatch epilogue’s authored-name restore is keyed on the same
prefix, ADR-0663).
Normalize src under the same ParseOptions the real parse would
use (the preview gates change what the lexer produces, so the template
must be derived from the identical token stream).
Whether a caller’s parameter map carries any [AUTO_PARAM_PREFIX]-named
key — the one spelling of the reserved-prefix collision policy, consulted
at the one boundary that decides cache participation — the facade’s
Connection::cache_lookup, before the raw stage — where such a caller
disables the cache for the statement entirely. Generic over the value
type — the policy is about the names only.