Skip to content

Commit 2340f9a

Browse files
craig[bot]msbutler
andcommitted
Merge #156381
156381: backup: remove schema field from backupTarget struct r=jeffswenson a=msbutler It is not used by anything, so I'm removing it to prevent confusion. Epic: none Release note: none Co-authored-by: Michael Butler <[email protected]>
2 parents 2b200ab + 9097e8f commit 2340f9a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pkg/sql/sem/tree/backup.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,6 @@ func (o RestoreOptions) IsDefault() bool {
692692
// Only one field may be non-nil.
693693
type BackupTargetList struct {
694694
Databases NameList
695-
Schemas ObjectNamePrefixList
696695
Tables TableAttrs
697696
TenantID TenantID
698697
}
@@ -702,9 +701,6 @@ func (tl *BackupTargetList) Format(ctx *FmtCtx) {
702701
if tl.Databases != nil {
703702
ctx.WriteString("DATABASE ")
704703
ctx.FormatNode(&tl.Databases)
705-
} else if tl.Schemas != nil {
706-
ctx.WriteString("SCHEMA ")
707-
ctx.FormatNode(&tl.Schemas)
708704
} else if tl.TenantID.Specified {
709705
ctx.WriteString("VIRTUAL CLUSTER ")
710706
ctx.FormatNode(&tl.TenantID)

0 commit comments

Comments
 (0)