mirror of
https://github.com/postgres/postgres.git
synced 2025-11-19 13:42:17 +03:00
Remove the query_id_squash_values GUC
Commit 62d712ecfd introduced the capability to calculate the same
queryId for queries with different lengths of constants in a list for an
IN clause. This behavior was originally enabled with a GUC
query_id_squash_values. After a discussion about the value of such a
GUC, it was decided to back out of the use of a GUC and make the
squashing behavior the only available option.
Author: Sami Imseih <samimseih@gmail.com>
Discussion: https://postgr.es/m/Z-LZyygkkNyA8-kR@msg.df7cb.de
Discussion: https://postgr.es/m/CA+q6zcVTK-3C-8NWV1oY2NZrvtnMCDqnyYYyk1T7WMUG65MeOQ@mail.gmail.com
This commit is contained in:
@@ -116,7 +116,6 @@ typedef struct
|
||||
bool redirection_done;
|
||||
bool IsBinaryUpgrade;
|
||||
bool query_id_enabled;
|
||||
bool query_id_squash_values;
|
||||
int max_safe_fds;
|
||||
int MaxBackends;
|
||||
int num_pmchild_slots;
|
||||
@@ -778,7 +777,6 @@ save_backend_variables(BackendParameters *param,
|
||||
param->redirection_done = redirection_done;
|
||||
param->IsBinaryUpgrade = IsBinaryUpgrade;
|
||||
param->query_id_enabled = query_id_enabled;
|
||||
param->query_id_squash_values = query_id_squash_values;
|
||||
param->max_safe_fds = max_safe_fds;
|
||||
|
||||
param->MaxBackends = MaxBackends;
|
||||
@@ -1039,7 +1037,6 @@ restore_backend_variables(BackendParameters *param)
|
||||
redirection_done = param->redirection_done;
|
||||
IsBinaryUpgrade = param->IsBinaryUpgrade;
|
||||
query_id_enabled = param->query_id_enabled;
|
||||
query_id_squash_values = param->query_id_squash_values;
|
||||
max_safe_fds = param->max_safe_fds;
|
||||
|
||||
MaxBackends = param->MaxBackends;
|
||||
|
||||
Reference in New Issue
Block a user