Skip to content

Commit 9097e8f

Browse files
committed
backup: remove schema field from backupTarget struct
It is not used by anything, so I'm removing it to prevent confusion. Epic: none Release note: none
1 parent 7bc8809 commit 9097e8f

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)