Skip to content

Commit 6da18da

Browse files
feat: add RenameStmt support to objfuncargs transformation contexts
Co-Authored-By: Dan Lynch <[email protected]>
1 parent 630d873 commit 6da18da

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1354,7 +1354,8 @@ export class V13ToV14Transformer {
13541354
nodeType === 'CreateOpFamilyStmt' ||
13551355
nodeType === 'CreateOperatorStmt' ||
13561356
nodeType === 'GrantStmt' ||
1357-
nodeType === 'RevokeStmt') {
1357+
nodeType === 'RevokeStmt' ||
1358+
nodeType === 'RenameStmt') {
13581359
return true;
13591360
}
13601361
if (nodeType === 'DropStmt') {
@@ -1377,7 +1378,8 @@ export class V13ToV14Transformer {
13771378
parentType === 'CreateOperatorStmt' ||
13781379
parentType === 'CreateCastStmt' ||
13791380
parentType === 'GrantStmt' ||
1380-
parentType === 'RevokeStmt') {
1381+
parentType === 'RevokeStmt' ||
1382+
parentType === 'RenameStmt') {
13811383
return true;
13821384
}
13831385
if (parentType === 'DropStmt') {

0 commit comments

Comments
 (0)