Skip to content

Commit

Permalink
Fix type cast for normalizing alter subscription statement (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
anuraaga authored Dec 2, 2023
1 parent f1f8a02 commit 867b65f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pg_query_normalize.c
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ static bool const_record_walker(Node *node, pgssConstLocations *jstate)
record_matching_string(jstate, ((CreateSubscriptionStmt *) node)->conninfo);
break;
case T_AlterSubscriptionStmt:
record_matching_string(jstate, ((CreateSubscriptionStmt *) node)->conninfo);
record_matching_string(jstate, ((AlterSubscriptionStmt *) node)->conninfo);
break;
case T_CreateUserMappingStmt:
return const_record_walker((Node *) ((CreateUserMappingStmt *) node)->options, jstate);
Expand Down

0 comments on commit 867b65f

Please sign in to comment.