Skip to content

Commit

Permalink
[pg15] fix: re-enable commented out GUC yb_plpgsql_disable_prefetch_i…
Browse files Browse the repository at this point in the history
…n_for_query

Summary:
Fix TestPgReadCommittedFuncs test. This is done by changing QUERY_TUNING to QUERY_TUNING_METHOD.

Test Plan:
Jenkins: rebase: pg15

./yb_build.sh --java-test TestPgReadCommittedFuncs

Reviewers: pjain, jason, aagrawal, smishra

Reviewed By: jason

Subscribers: yql

Differential Revision: https://phorge.dev.yugabyte.com/D37496
  • Loading branch information
pao214 committed Aug 23, 2024
1 parent 4880c95 commit 91a265a
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/postgres/src/backend/utils/misc/guc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2753,21 +2753,15 @@ static struct config_bool ConfigureNamesBool[] =
NULL, NULL, NULL
},

#ifdef YB_TODO
/* deepthi@yugabyte
* - QUERY_TUNING is no longer defined in Postgres source code.
* - Please make appropriate modification.
*/
{
{"yb_plpgsql_disable_prefetch_in_for_query", PGC_USERSET, QUERY_TUNING,
{"yb_plpgsql_disable_prefetch_in_for_query", PGC_USERSET, QUERY_TUNING_METHOD,
gettext_noop("Disable prefetching in a PLPGSQL FOR loop over a query."),
NULL
},
&yb_plpgsql_disable_prefetch_in_for_query,
false,
NULL, NULL, NULL
},
#endif

{
{"yb_enable_sequence_pushdown", PGC_USERSET, QUERY_TUNING_METHOD,
Expand Down

0 comments on commit 91a265a

Please sign in to comment.