We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db90b54 commit 87e4207Copy full SHA for 87e4207
packages/transform/src/transformers/v13-to-v14.ts
@@ -155,21 +155,6 @@ export class V13ToV14Transformer {
155
result.location = node.location;
156
}
157
158
- if (result.funcformat === undefined) {
159
- const hasPgCatalogPrefix = result.funcname &&
160
- Array.isArray(result.funcname) &&
161
- result.funcname.length >= 2 &&
162
- result.funcname[0] &&
163
- typeof result.funcname[0] === 'object' &&
164
- 'String' in result.funcname[0] &&
165
- result.funcname[0].String.str === 'pg_catalog';
166
-
167
- if (hasPgCatalogPrefix) {
168
- result.funcformat = "COERCE_SQL_SYNTAX";
169
- } else {
170
- result.funcformat = "COERCE_EXPLICIT_CALL";
171
- }
172
173
174
return { FuncCall: result };
175
0 commit comments