Skip to content

Conversation

Medvecrab
Copy link
Contributor

Also remove if(MyProc) checks

@Medvecrab Medvecrab requested a review from shinderuk June 14, 2024 14:15
Copy link
Contributor

@shinderuk shinderuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Medvecrab Medvecrab force-pushed the track_top_level_queryid branch from 1c9e00f to f4fbcce Compare June 17, 2024 07:18
@Medvecrab Medvecrab force-pushed the track_top_level_queryid branch from f4fbcce to b2ade62 Compare June 17, 2024 08:47
PlannedStmt *result;
int i = MyProc - ProcGlobal->allProcs;
if (nesting_level == 0)
pgws_proc_queryids[i] = parse->queryId;

/* Invoke original hook if needed */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please move this comment below, atop if (planner_hook_next).

@Medvecrab Medvecrab force-pushed the track_top_level_queryid branch from b2ade62 to 0b5c61b Compare June 17, 2024 10:29
@shinderuk shinderuk merged commit 3fdca70 into master Jun 17, 2024
@shinderuk shinderuk deleted the track_top_level_queryid branch June 17, 2024 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants