From 389dcefd01db502a68ac22ba4fce5435627846d4 Mon Sep 17 00:00:00 2001 From: Rafi Shamim Date: Mon, 14 Feb 2022 17:41:39 -0500 Subject: [PATCH] builtins: add rehome_row to DistSQLBlocklist This builtin always needs to run on the gateway node. Release note: None --- pkg/sql/sem/builtins/builtins.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/sql/sem/builtins/builtins.go b/pkg/sql/sem/builtins/builtins.go index 94033fde5acc..36edfd1cfc5c 100644 --- a/pkg/sql/sem/builtins/builtins.go +++ b/pkg/sql/sem/builtins/builtins.go @@ -6132,7 +6132,8 @@ the locality flag on node startup. Returns an error if no region is set.`, }, Info: `Returns the region of the connection's current node as defined by the locality flag on node startup. Returns an error if no region is set.`, - Volatility: tree.VolatilityStable, + Volatility: tree.VolatilityStable, + DistsqlBlocklist: true, }, ), "crdb_internal.validate_multi_region_zone_configs": makeBuiltin(