In Postgres such a query is valid:
select A as "A\""B" from "T1";
The single result column will be named A\"B.
The backslash escape isn't used as escape here, the first inner " will escape the following ".
To demonstrate the logic a bit more a few examples:
Now the formatter chokes on this.
select A as "A\""B" from "T1";
will be formatted as
select A as "A\"" B " from " T1 ";
Which is not even executable anymore.
Is there any configuration that could alleviate this problem ?
In Postgres such a query is valid:
The single result column will be named
A\"B.The backslash escape isn't used as escape here, the first inner
"will escape the following".To demonstrate the logic a bit more a few examples:
A\B=>A\BA""B=>A"BNow the formatter chokes on this.
will be formatted as
Which is not even executable anymore.
Is there any configuration that could alleviate this problem ?