in reply to
Re^3: SQL::Statement confusing literals and identifiers (now with workaround!)
in thread SQL::Statement confusing literals and identifiers
That would surely fix the problem in my case, but it's a very incomplete fix. Simply removing the quotes is too minimalistic. That fix would remove some (maybe all) false negatives, but would introduce false positives. Specifically, the following name column pairs become indistinguishable:
- "foo.bar".baz and foo."bar.baz"
- "foo.bar" and foo.bar
- "*" and *
The simplest solution might be to *add* quotes everywhere internally.
That said, I'll use the previously suggested SELECT * rather than applying this incomplete patch.