Skip to content

Commit

Permalink
Merge pull request #110730 from cockroachdb/blathers/backport-release…
Browse files Browse the repository at this point in the history
…-23.1-110595

release-23.1: sql: improve error message for multiple active portals
  • Loading branch information
rafiss authored Sep 15, 2023
2 parents 7dc1bcb + d6461c8 commit ec7180f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/sql/distsql_running.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ec7180f

Please sign in to comment.