Skip to content

Commit d52e825

Browse files
mrdrivingduckpolardb-bot[bot]
authored andcommitted
feat: remove check hook of polar_px_scan_unit_size
1 parent 20dcd42 commit d52e825

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/backend/utils/misc/guc_px.c

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2491,7 +2491,7 @@ struct config_int ConfigureNamesInt_px[] =
24912491
},
24922492
&px_scan_unit_size,
24932493
512, 1, 1024,
2494-
px_check_scan_unit_size, NULL, px_show_scan_unit_size
2494+
px_check_scan_unit_size, NULL, NULL
24952495
},
24962496

24972497
{
@@ -2783,15 +2783,6 @@ px_check_scan_unit_size(int *newval, void **extra, GucSource source)
27832783
return true;
27842784
}
27852785

2786-
static const char*
2787-
px_show_scan_unit_size(void)
2788-
{
2789-
static char nbuf[120];
2790-
snprintf(nbuf, sizeof(nbuf), "scan_unit_size: %d, scan_unit_bit: %d",
2791-
px_scan_unit_size, px_scan_unit_bit);
2792-
return nbuf;
2793-
}
2794-
27952786
static bool
27962787
px_check_ignore_function(char **newval, void **extra, GucSource source)
27972788
{

0 commit comments

Comments
 (0)