Skip to content

Commit

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

release-23.1: randgen: disable generation of REGNAMESPACE type expressions
  • Loading branch information
Mark Sirek authored Apr 7, 2023
2 parents aa1c57b + 367b8dc commit 508ee2c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/sql/randgen/type.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ var (
func init() {
for _, typ := range types.OidToType {
switch typ.Oid() {
case oid.T_regnamespace:
// Temporarily don't include this.
// TODO(msirek): Remove this exclusion once
// https://github.com/cockroachdb/cockroach/issues/55791 is fixed.
case oid.T_unknown, oid.T_anyelement:
// Don't include these.
case oid.T_anyarray, oid.T_oidvector, oid.T_int2vector:
Expand Down

0 comments on commit 508ee2c

Please sign in to comment.