From d6461c8aa7ef52ee40118661632af89f49eb68ad Mon Sep 17 00:00:00 2001 From: Rafi Shamim Date: Wed, 13 Sep 2023 18:49:43 +0000 Subject: [PATCH] sql: improve error message for multiple active portals This clarifies that the feature is in preview, instead of "not implemented." Release note: None --- pkg/sql/distsql_running.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkg/sql/distsql_running.go b/pkg/sql/distsql_running.go index c6910d495890..bf91a4b87750 100644 --- a/pkg/sql/distsql_running.go +++ b/pkg/sql/distsql_running.go @@ -1551,9 +1551,8 @@ var ( // true or the underlying query does not satisfy the restriction. ErrLimitedResultNotSupported = unimplemented.NewWithIssue( 40195, - "multiple active portals not supported, "+ - "please set session variable multiple_active_portals_enabled to true. "+ - "Note: this feature is in preview", + "multiple active portals is in preview, "+ + "please set session variable multiple_active_portals_enabled to true to enable them", ) // ErrStmtNotSupportedForPausablePortal is returned when the user have set // session variable multiple_active_portals_enabled to true but set an unsupported