Skip to content

Case Preservation

Bram Gruneir edited this page May 7, 2024 · 3 revisions

Case Preservation

Identifiers such as schema, table, and column names are treated in a case-preserving, but case-insensitive manner within Replicator. That is, the identifiers foo.bar and FOO.BAR are equivalent. This allows Replicator to bridge systems that have differing case rules, by matching incoming data to the target schema in a case-insensitive fashion. This does, however, assume that no reasonable schema contains elements which are distinguishable by case alone.

Should it ever become necessary, an exact-case version of Replicator could be built by disabling the lower-casing behavior in ident/atom.go.

Clone this wiki locally