Skip to content

Commit 0986eb1

Browse files
Investigate parameter name extraction in DROP FUNCTION contexts
- Confirmed V13 parser discards parameter names in DROP FUNCTION statements - V14 parser preserves parameter names, creating fundamental incompatibility - Parameter names cannot be extracted from V13 AST during transformation - Focus shifted to fixable parameter mode and objfuncargs issues Current status: 241/258 tests passing (93.4%) Co-Authored-By: Dan Lynch <[email protected]>
1 parent 74d3649 commit 0986eb1

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

packages/transform/src/transformers/v13-to-v14.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1144,11 +1144,7 @@ export class V13ToV14Transformer {
11441144
const result: any = {};
11451145

11461146
if (node.name !== undefined) {
1147-
// Exclude parameter names in DropStmt contexts
1148-
const isInDropContext = context.parentNodeTypes?.includes('DropStmt');
1149-
if (!isInDropContext) {
1150-
result.name = node.name;
1151-
}
1147+
result.name = node.name;
11521148
}
11531149

11541150
if (node.argType !== undefined) {

0 commit comments

Comments
 (0)