NOT the only identifier quoter in MJ, and deliberately so.
PostgreSQLDataProvider carries a separate, METADATA-DRIVEN quoter
(quoteIdentifiersInSQL / quoteFieldNamesInToken, used by TransformExternalSQLClause) which
knows the entity's actual field list and can therefore quote precisely, without any keyword
heuristic. This module is the fallback for SQL where no entity context exists — hand-authored
and stored SQL reaching ExecuteSQL.
They are not duplicates and this is not an unfinished consolidation: a metadata-driven quoter
cannot serve arbitrary SQL, and a heuristic one should not be used where the field list is
known. Do not merge them.
NOT the only identifier quoter in MJ, and deliberately so.
PostgreSQLDataProvidercarries a separate, METADATA-DRIVEN quoter (quoteIdentifiersInSQL/quoteFieldNamesInToken, used byTransformExternalSQLClause) which knows the entity's actual field list and can therefore quote precisely, without any keyword heuristic. This module is the fallback for SQL where no entity context exists — hand-authored and stored SQL reachingExecuteSQL.They are not duplicates and this is not an unfinished consolidation: a metadata-driven quoter cannot serve arbitrary SQL, and a heuristic one should not be used where the field list is known. Do not merge them.