Skip to content

Commit

Permalink
builtins: add rehome_row to DistSQLBlocklist
Browse files Browse the repository at this point in the history
This builtin always needs to run on the gateway node.

Release note: None
  • Loading branch information
rafiss committed Feb 14, 2022
1 parent 657c0e1 commit 389dcef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/sql/sem/builtins/builtins.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 389dcef

Please sign in to comment.