Skip to content

Commit

Permalink
PG-174: Code cleanup. (#310)
Browse files Browse the repository at this point in the history
pg_stat_monitor is a bit longer; therefore, it requires some code cleanup.
Therefore I decided to turn these tasks into multiple commits and PR to avoid
various changes in one PR. This will ease the review and Q/A process.
In this commit, I have done these tasks.

1 - Fixing compilation issue, cause by previous commit, where we removed
the benchmarking code. It was causing problem for PostgreSQL-12.
  • Loading branch information
Ibrar Ahmed authored Oct 24, 2022
1 parent d7e8a0a commit 634f0ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pg_stat_monitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ pgss_post_parse_analyze(ParseState *pstate, Query *query, JumbleState *jstate)
jstate, /* JumbleState */
PGSS_PARSE); /* pgssStoreKind */
}
#elif
#else

/*
* Post-parse-analysis hook: mark query with a queryId
Expand Down

0 comments on commit 634f0ce

Please sign in to comment.