Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

feat(pg): support composite types in schema sync and SDL dump (#20911)

h3n4lb29445f9138a
diff --git a/CONTEXT.md b/CONTEXT.md
index 758a3b7058..94f0f261f2 100644
--- a/CONTEXT.md
+++ b/CONTEXT.md
@@ -59,3 +59,7 @@ _Avoid_: Plan, rollout, issue
**Changelog**:
The recorded history of a database migration after execution. It is evidence that a change ran, not the proposed change itself.
_Avoid_: Change request, release
+
+**Composite Type**:
+A PostgreSQL-family standalone named row type (`CREATE TYPE x AS (...)`, `pg_type.typtype = 'c'` excluding table row types). Distinct from enums, domains, ranges, Oracle object types, and SQL Server table/alias types — each is its own concept with its own name.
+_Avoid_: UDT, user-defined type, custom type, object type
diff --git a/action/README.md b/action/README.md
index 960530aeef..25f81f03ac 100644
--- a/action/README.md
+++ b/action/README.md
@@ -146,12 +146,19 @@ When using declarative mode, you must follow these steps:
1. **Database Support**: Currently only PostgreSQL is supported.
2. **Supported SQL Statements**: The following PostgreSQL statements are supported:
+ - `CREATE SCHEMA`
- `CREATE TABLE`
- `CREATE INDEX` / `CREATE UNIQUE INDEX`
- - `CREATE VIEW`
- - `CREATE SEQUENCE`
+ - `CREATE VIEW` / `CREATE MATERIALIZED VIEW`
+ - `CREATE SEQUENCE` / `ALTER SEQUENCE`
- `CREATE FUNCTION`
- - `ALTER SEQUENCE`
+ - `CREATE TYPE ... AS ENUM` (enum types)
+ - `CREATE TYPE ... AS (...)` (composite types)
+ - `CREATE TRIGGER`
+ - `CREATE EXTENSION`
+ - `COMMENT ON`
+
+ > **Note**: Domain and range types (`CREATE DOMAIN`, `CREATE TYPE ... AS RANGE`) are parsed, but schema sync does not yet capture them, so databases relying on them are not yet fully supported in declarative mode.
3. **Schema Requirements**: You must use fully qualified names (with schema prefix) for all database objects in your schema files:
```sql
diff --git a/backend/api/mcp/gen/openapi.yaml b/backend/api/mcp/gen/openapi.yaml
index 0638cdceb1..3d4f0b2e3b 100644
--- a/backend/api/mcp/gen/openapi.yaml
+++ b/backend/api/mcp/gen/openapi.yaml
@@ -9607,6 +9607,49 @@ components:
- IDENTITY_GENERATION_UNSPECIFIED
- ALWAYS
- BY_DEFAULT
+ bytebase.v1.CompositeTypeAttribute:
+ type: object
+ properties:
+ name:
+ type: string
+ title: name
+ description: The name of the attribute.
+ type:
+ type: string
+ title: type
+ description: The attribute type. User-defined types are always schema-qualified.
+ collation:
+ type: string
+ title: collation
+ description: |-
+ The non-default collation of the attribute as an emit-ready SQL
+ identifier reference (quoted as needed, schema-qualified when outside
+ pg_catalog), empty otherwise. e.g. `"C"` or `locale.en_us`.
+ comment:
+ type: string
+ title: comment
+ description: The comment describing the attribute.
+ title: CompositeTypeAttribute
+ additionalProperties: false
+ bytebase.v1.CompositeTypeMetadata:
+ type: object
+ properties:
+ name:
+ type: string
+ title: name
+ description: The name of the composite type.
+ attributes:
+ type: array
+ items:
+ $ref: '#/components/schemas/bytebase.v1.CompositeTypeAttribute'
+ title: attributes
+ description: The ordered attributes of the composite type.
+ comment:
+ type: string
+ title: comment
+ description: The comment describing the composite type.
+ title: CompositeTypeMetadata
+ additionalProperties: false
bytebase.v1.CreateAccessGrantRequest:
type: object
properties:
@@ -17307,6 +17350,15 @@ components:
type: string
title: comment
description: The comment is the comment of a schema.
+ compositeTypes:
+ type: array
+ items:
+ $ref: '#/components/schemas/bytebase.v1.CompositeTypeMetadata'
+ title: composite_types
+ description: |-
+ The composite_types is the list of user-defined composite types in a
+ schema (PostgreSQL family, CREATE TYPE ... AS). Excludes table/view row
+ types and derived types.
title: SchemaMetadata
additionalProperties: false
description: |-
diff --git a/backend/api/v1/database_converter.go b/backend/api/v1/database_converter.go
index 79c815fc47..3399a730a1 100644
--- a/backend/api/v1/database_converter.go
+++ b/backend/api/v1/database_converter.go
@@ -236,6 +236,28 @@ func convertStoreDatabaseMetadata(metadata *storepb.DatabaseSchemaMetadata, filt
s.EnumTypes = append(s.EnumTypes, v1Enum)
}
+ for _, composite := range schema.CompositeTypes {
+ if composite == nil {
+ continue
+ }
+ v1Composite := &v1pb.CompositeTypeMetadata{
+ Name: composite.Name,
+ Comment: composite.Comment,
+ }
+ for _, attribute := range composite.Attributes {
+ if attribute == nil {
+ continue
+ }
+ v1Composite.Attributes = append(v1Composite.Attributes, &v1pb.CompositeTypeAttribute{
+ Name: attribute.Name,
+ Type: attribute.Type,
+ Collation: attribute.Collation,
+ Comment: attribute.Comment,
+ })
+ }
+ s.CompositeTypes = append(s.CompositeTypes, v1Composite)
+ }
+
for _, matview := range schema.MaterializedViews {
if matview == nil {
continue
@@ -713,6 +735,27 @@ func convertV1DatabaseMetadata(metadata *v1pb.DatabaseMetadata) *storepb.Databas
}
s.EnumTypes = append(s.EnumTypes, storeEnum)
}
+ for _, composite := range schema.CompositeTypes {
+ if composite == nil {
+ continue
+ }
+ storeComposite := &storepb.CompositeTypeMetadata{
+ Name: composite.Name,
+ Comment: composite.Comment,
+ }
+ for _, attribute := range composite.Attributes {
+ if attribute == nil {
+ continue
+ }
+ storeComposite.Attributes = append(storeComposite.Attributes, &storepb.CompositeTypeAttribute{
+ Name: attribute.Name,
+ Type: attribute.Type,
+ Collation: attribute.Collation,
+ Comment: attribute.Comment,
+ })
+ }
+ s.CompositeTypes = append(s.CompositeTypes, storeComposite)
+ }
for _, sequence := range schema.Sequences {
if sequence == nil {
continue
diff --git a/backend/generated-go/store/database.pb.go b/backend/generated-go/store/database.pb.go
index 6055ee55d6..3ecbc08408 100644
--- a/backend/generated-go/store/database.pb.go
+++ b/backend/generated-go/store/database.pb.go
@@ -118,7 +118,7 @@ func (x TaskMetadata_State) Number() protoreflect.EnumNumber {
// Deprecated: Use TaskMetadata_State.Descriptor instead.
func (TaskMetadata_State) EnumDescriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{9, 0}
+ return file_store_database_proto_rawDescGZIP(), []int{11, 0}
}
type StreamMetadata_Type int32
@@ -164,7 +164,7 @@ func (x StreamMetadata_Type) Number() protoreflect.EnumNumber {
// Deprecated: Use StreamMetadata_Type.Descriptor instead.
func (StreamMetadata_Type) EnumDescriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{10, 0}
+ return file_store_database_proto_rawDescGZIP(), []int{12, 0}
}
type StreamMetadata_Mode int32
@@ -216,7 +216,7 @@ func (x StreamMetadata_Mode) Number() protoreflect.EnumNumber {
// Deprecated: Use StreamMetadata_Mode.Descriptor instead.
func (StreamMetadata_Mode) EnumDescriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{10, 1}
+ return file_store_database_proto_rawDescGZIP(), []int{12, 1}
}
// The type is the type of a table partition. Some database engines may not
@@ -290,7 +290,7 @@ func (x TablePartitionMetadata_Type) Number() protoreflect.EnumNumber {
// Deprecated: Use TablePartitionMetadata_Type.Descriptor instead.
func (TablePartitionMetadata_Type) EnumDescriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{15, 0}
+ return file_store_database_proto_rawDescGZIP(), []int{17, 0}
}
type ColumnMetadata_IdentityGeneration int32
@@ -339,7 +339,7 @@ func (x ColumnMetadata_IdentityGeneration) Number() protoreflect.EnumNumber {
// Deprecated: Use ColumnMetadata_IdentityGeneration.Descriptor instead.
func (ColumnMetadata_IdentityGeneration) EnumDescriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{16, 0}
+ return file_store_database_proto_rawDescGZIP(), []int{18, 0}
}
type GenerationMetadata_Type int32
@@ -388,7 +388,7 @@ func (x GenerationMetadata_Type) Number() protoreflect.EnumNumber {
// Deprecated: Use GenerationMetadata_Type.Descriptor instead.
func (GenerationMetadata_Type) EnumDescriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{17, 0}
+ return file_store_database_proto_rawDescGZIP(), []int{19, 0}
}
type ObjectSchema_Type int32
@@ -446,7 +446,7 @@ func (x ObjectSchema_Type) Number() protoreflect.EnumNumber {
// Deprecated: Use ObjectSchema_Type.Descriptor instead.
func (ObjectSchema_Type) EnumDescriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{40, 0}
+ return file_store_database_proto_rawDescGZIP(), []int{42, 0}
}
// DatabaseMetadata is the metadata for databases.
@@ -766,14 +766,17 @@ type SchemaMetadata struct {
// The list of sequences in a schema.
Sequences []*SequenceMetadata `protobuf:"bytes,10,rep,name=sequences,proto3" json:"sequences,omitempty"`
// The list of packages in a schema.
- Packages []*PackageMetadata `protobuf:"bytes,11,rep,name=packages,proto3" json:"packages,omitempty"`
- Owner string `protobuf:"bytes,12,opt,name=owner,proto3" json:"owner,omitempty"`
- Comment string `protobuf:"bytes,13,opt,name=comment,proto3" json:"comment,omitempty"`
- Events []*EventMetadata `protobuf:"bytes,14,rep,name=events,proto3" json:"events,omitempty"`
- EnumTypes []*EnumTypeMetadata `protobuf:"bytes,15,rep,name=enum_types,json=enumTypes,proto3" json:"enum_types,omitempty"`
- SkipDump bool `protobuf:"varint,16,opt,name=skip_dump,json=skipDump,proto3" json:"skip_dump,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
+ Packages []*PackageMetadata `protobuf:"bytes,11,rep,name=packages,proto3" json:"packages,omitempty"`
+ Owner string `protobuf:"bytes,12,opt,name=owner,proto3" json:"owner,omitempty"`
+ Comment string `protobuf:"bytes,13,opt,name=comment,proto3" json:"comment,omitempty"`
+ Events []*EventMetadata `protobuf:"bytes,14,rep,name=events,proto3" json:"events,omitempty"`
+ EnumTypes []*EnumTypeMetadata `protobuf:"bytes,15,rep,name=enum_types,json=enumTypes,proto3" json:"enum_types,omitempty"`
+ SkipDump bool `protobuf:"varint,16,opt,name=skip_dump,json=skipDump,proto3" json:"skip_dump,omitempty"`
+ // The list of user-defined composite types in a schema (PostgreSQL family,
+ // CREATE TYPE ... AS). Excludes table/view row types and derived types.
+ CompositeTypes []*CompositeTypeMetadata `protobuf:"bytes,17,rep,name=composite_types,json=compositeTypes,proto3" json:"composite_types,omitempty"`
+ unknownFields protoimpl.UnknownFields
+ sizeCache protoimpl.SizeCache
}
func (x *SchemaMetadata) Reset() {
@@ -918,6 +921,13 @@ func (x *SchemaMetadata) GetSkipDump() bool {
return false
}
+func (x *SchemaMetadata) GetCompositeTypes() []*CompositeTypeMetadata {
+ if x != nil {
+ return x.CompositeTypes
+ }
+ return nil
+}
+
type EnumTypeMetadata struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The name of the enum type.
@@ -988,6 +998,149 @@ func (x *EnumTypeMetadata) GetSkipDump() bool {
return false
}
+type CompositeTypeMetadata struct {
+ state protoimpl.MessageState `protogen:"open.v1"`
+ // The name of the composite type.
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ // The ordered attributes of the composite type.
+ Attributes []*CompositeTypeAttribute `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty"`
+ Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"`
+ SkipDump bool `protobuf:"varint,4,opt,name=skip_dump,json=skipDump,proto3" json:"skip_dump,omitempty"`
+ unknownFields protoimpl.UnknownFields
+ sizeCache protoimpl.SizeCache
+}
+
+func (x *CompositeTypeMetadata) Reset() {
+ *x = CompositeTypeMetadata{}
+ mi := &file_store_database_proto_msgTypes[5]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+}
+
+func (x *CompositeTypeMetadata) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CompositeTypeMetadata) ProtoMessage() {}
+
+func (x *CompositeTypeMetadata) ProtoReflect() protoreflect.Message {
+ mi := &file_store_database_proto_msgTypes[5]
+ if x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use CompositeTypeMetadata.ProtoReflect.Descriptor instead.
+func (*CompositeTypeMetadata) Descriptor() ([]byte, []int) {
+ return file_store_database_proto_rawDescGZIP(), []int{5}
+}
+
+func (x *CompositeTypeMetadata) GetName() string {
+ if x != nil {
+ return x.Name
+ }
+ return ""
+}
+
+func (x *CompositeTypeMetadata) GetAttributes() []*CompositeTypeAttribute {
+ if x != nil {
+ return x.Attributes
+ }
+ return nil
+}
+
+func (x *CompositeTypeMetadata) GetComment() string {
+ if x != nil {
+ return x.Comment
+ }
+ return ""
+}
+
+func (x *CompositeTypeMetadata) GetSkipDump() bool {
+ if x != nil {
+ return x.SkipDump
+ }
+ return false
+}
+
+type CompositeTypeAttribute struct {
+ state protoimpl.MessageState `protogen:"open.v1"`
+ // The name of the attribute.
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ // The attribute type. User-defined types are always schema-qualified.
+ Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
+ // The non-default collation of the attribute as an emit-ready SQL
+ // identifier reference (quoted as needed, schema-qualified when outside
+ // pg_catalog), empty otherwise. e.g. `"C"` or `locale.en_us`.
+ Collation string `protobuf:"bytes,3,opt,name=collation,proto3" json:"collation,omitempty"`
+ Comment string `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty"`
+ unknownFields protoimpl.UnknownFields
+ sizeCache protoimpl.SizeCache
+}
+
+func (x *CompositeTypeAttribute) Reset() {
+ *x = CompositeTypeAttribute{}
+ mi := &file_store_database_proto_msgTypes[6]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+}
+
+func (x *CompositeTypeAttribute) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CompositeTypeAttribute) ProtoMessage() {}
+
+func (x *CompositeTypeAttribute) ProtoReflect() protoreflect.Message {
+ mi := &file_store_database_proto_msgTypes[6]
+ if x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use CompositeTypeAttribute.ProtoReflect.Descriptor instead.
+func (*CompositeTypeAttribute) Descriptor() ([]byte, []int) {
+ return file_store_database_proto_rawDescGZIP(), []int{6}
+}
+
+func (x *CompositeTypeAttribute) GetName() string {
+ if x != nil {
+ return x.Name
+ }
+ return ""
+}
+
+func (x *CompositeTypeAttribute) GetType() string {
+ if x != nil {
+ return x.Type
+ }
+ return ""
+}
+
+func (x *CompositeTypeAttribute) GetCollation() string {
+ if x != nil {
+ return x.Collation
+ }
+ return ""
+}
+
+func (x *CompositeTypeAttribute) GetComment() string {
+ if x != nil {
+ return x.Comment
+ }
+ return ""
+}
+
type EventMetadata struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The name of the event.
@@ -1006,7 +1159,7 @@ type EventMetadata struct {
func (x *EventMetadata) Reset() {
*x = EventMetadata{}
- mi := &file_store_database_proto_msgTypes[5]
+ mi := &file_store_database_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1018,7 +1171,7 @@ func (x *EventMetadata) String() string {
func (*EventMetadata) ProtoMessage() {}
func (x *EventMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[5]
+ mi := &file_store_database_proto_msgTypes[7]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1031,7 +1184,7 @@ func (x *EventMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use EventMetadata.ProtoReflect.Descriptor instead.
func (*EventMetadata) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{5}
+ return file_store_database_proto_rawDescGZIP(), []int{7}
}
func (x *EventMetadata) GetName() string {
@@ -1115,7 +1268,7 @@ type SequenceMetadata struct {
func (x *SequenceMetadata) Reset() {
*x = SequenceMetadata{}
- mi := &file_store_database_proto_msgTypes[6]
+ mi := &file_store_database_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1127,7 +1280,7 @@ func (x *SequenceMetadata) String() string {
func (*SequenceMetadata) ProtoMessage() {}
func (x *SequenceMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[6]
+ mi := &file_store_database_proto_msgTypes[8]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1140,7 +1293,7 @@ func (x *SequenceMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use SequenceMetadata.ProtoReflect.Descriptor instead.
func (*SequenceMetadata) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{6}
+ return file_store_database_proto_rawDescGZIP(), []int{8}
}
func (x *SequenceMetadata) GetName() string {
@@ -1255,7 +1408,7 @@ type TriggerMetadata struct {
func (x *TriggerMetadata) Reset() {
*x = TriggerMetadata{}
- mi := &file_store_database_proto_msgTypes[7]
+ mi := &file_store_database_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1267,7 +1420,7 @@ func (x *TriggerMetadata) String() string {
func (*TriggerMetadata) ProtoMessage() {}
func (x *TriggerMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[7]
+ mi := &file_store_database_proto_msgTypes[9]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1280,7 +1433,7 @@ func (x *TriggerMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use TriggerMetadata.ProtoReflect.Descriptor instead.
func (*TriggerMetadata) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{7}
+ return file_store_database_proto_rawDescGZIP(), []int{9}
}
func (x *TriggerMetadata) GetName() string {
@@ -1369,7 +1522,7 @@ type RuleMetadata struct {
func (x *RuleMetadata) Reset() {
*x = RuleMetadata{}
- mi := &file_store_database_proto_msgTypes[8]
+ mi := &file_store_database_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1381,7 +1534,7 @@ func (x *RuleMetadata) String() string {
func (*RuleMetadata) ProtoMessage() {}
func (x *RuleMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[8]
+ mi := &file_store_database_proto_msgTypes[10]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1394,7 +1547,7 @@ func (x *RuleMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use RuleMetadata.ProtoReflect.Descriptor instead.
func (*RuleMetadata) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{8}
+ return file_store_database_proto_rawDescGZIP(), []int{10}
}
func (x *RuleMetadata) GetName() string {
@@ -1475,7 +1628,7 @@ type TaskMetadata struct {
func (x *TaskMetadata) Reset() {
*x = TaskMetadata{}
- mi := &file_store_database_proto_msgTypes[9]
+ mi := &file_store_database_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1487,7 +1640,7 @@ func (x *TaskMetadata) String() string {
func (*TaskMetadata) ProtoMessage() {}
func (x *TaskMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[9]
+ mi := &file_store_database_proto_msgTypes[11]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1500,7 +1653,7 @@ func (x *TaskMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use TaskMetadata.ProtoReflect.Descriptor instead.
func (*TaskMetadata) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{9}
+ return file_store_database_proto_rawDescGZIP(), []int{11}
}
func (x *TaskMetadata) GetName() string {
@@ -1597,7 +1750,7 @@ type StreamMetadata struct {
func (x *StreamMetadata) Reset() {
*x = StreamMetadata{}
- mi := &file_store_database_proto_msgTypes[10]
+ mi := &file_store_database_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1609,7 +1762,7 @@ func (x *StreamMetadata) String() string {
func (*StreamMetadata) ProtoMessage() {}
func (x *StreamMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[10]
+ mi := &file_store_database_proto_msgTypes[12]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1622,7 +1775,7 @@ func (x *StreamMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use StreamMetadata.ProtoReflect.Descriptor instead.
func (*StreamMetadata) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{10}
+ return file_store_database_proto_rawDescGZIP(), []int{12}
}
func (x *StreamMetadata) GetName() string {
@@ -1735,7 +1888,7 @@ type TableMetadata struct {
func (x *TableMetadata) Reset() {
*x = TableMetadata{}
- mi := &file_store_database_proto_msgTypes[11]
+ mi := &file_store_database_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1747,7 +1900,7 @@ func (x *TableMetadata) String() string {
func (*TableMetadata) ProtoMessage() {}
func (x *TableMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[11]
+ mi := &file_store_database_proto_msgTypes[13]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1760,7 +1913,7 @@ func (x *TableMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use TableMetadata.ProtoReflect.Descriptor instead.
func (*TableMetadata) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{11}
+ return file_store_database_proto_rawDescGZIP(), []int{13}
}
func (x *TableMetadata) GetName() string {
@@ -1936,7 +2089,7 @@ type CheckConstraintMetadata struct {
func (x *CheckConstraintMetadata) Reset() {
*x = CheckConstraintMetadata{}
- mi := &file_store_database_proto_msgTypes[12]
+ mi := &file_store_database_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1948,7 +2101,7 @@ func (x *CheckConstraintMetadata) String() string {
func (*CheckConstraintMetadata) ProtoMessage() {}
func (x *CheckConstraintMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[12]
+ mi := &file_store_database_proto_msgTypes[14]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1961,7 +2114,7 @@ func (x *CheckConstraintMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use CheckConstraintMetadata.ProtoReflect.Descriptor instead.
func (*CheckConstraintMetadata) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{12}
+ return file_store_database_proto_rawDescGZIP(), []int{14}
}
func (x *CheckConstraintMetadata) GetName() string {
@@ -1991,7 +2144,7 @@ type ExcludeConstraintMetadata struct {
func (x *ExcludeConstraintMetadata) Reset() {
*x = ExcludeConstraintMetadata{}
- mi := &file_store_database_proto_msgTypes[13]
+ mi := &file_store_database_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2003,7 +2156,7 @@ func (x *ExcludeConstraintMetadata) String() string {
func (*ExcludeConstraintMetadata) ProtoMessage() {}
func (x *ExcludeConstraintMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[13]
+ mi := &file_store_database_proto_msgTypes[15]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2016,7 +2169,7 @@ func (x *ExcludeConstraintMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use ExcludeConstraintMetadata.ProtoReflect.Descriptor instead.
func (*ExcludeConstraintMetadata) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{13}
+ return file_store_database_proto_rawDescGZIP(), []int{15}
}
func (x *ExcludeConstraintMetadata) GetName() string {
@@ -2049,7 +2202,7 @@ type ExternalTableMetadata struct {
func (x *ExternalTableMetadata) Reset() {
*x = ExternalTableMetadata{}
- mi := &file_store_database_proto_msgTypes[14]
+ mi := &file_store_database_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2061,7 +2214,7 @@ func (x *ExternalTableMetadata) String() string {
func (*ExternalTableMetadata) ProtoMessage() {}
func (x *ExternalTableMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[14]
+ mi := &file_store_database_proto_msgTypes[16]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2074,7 +2227,7 @@ func (x *ExternalTableMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use ExternalTableMetadata.ProtoReflect.Descriptor instead.
func (*ExternalTableMetadata) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{14}
+ return file_store_database_proto_rawDescGZIP(), []int{16}
}
func (x *ExternalTableMetadata) GetName() string {
@@ -2149,7 +2302,7 @@ type TablePartitionMetadata struct {
func (x *TablePartitionMetadata) Reset() {
*x = TablePartitionMetadata{}
- mi := &file_store_database_proto_msgTypes[15]
+ mi := &file_store_database_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2161,7 +2314,7 @@ func (x *TablePartitionMetadata) String() string {
func (*TablePartitionMetadata) ProtoMessage() {}
func (x *TablePartitionMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[15]
+ mi := &file_store_database_proto_msgTypes[17]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2174,7 +2327,7 @@ func (x *TablePartitionMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use TablePartitionMetadata.ProtoReflect.Descriptor instead.
func (*TablePartitionMetadata) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{15}
+ return file_store_database_proto_rawDescGZIP(), []int{17}
}
func (x *TablePartitionMetadata) GetName() string {
@@ -2315,7 +2468,7 @@ type ColumnMetadata struct {
func (x *ColumnMetadata) Reset() {
*x = ColumnMetadata{}
- mi := &file_store_database_proto_msgTypes[16]
+ mi := &file_store_database_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2327,7 +2480,7 @@ func (x *ColumnMetadata) String() string {
func (*ColumnMetadata) ProtoMessage() {}
func (x *ColumnMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[16]
+ mi := &file_store_database_proto_msgTypes[18]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2340,7 +2493,7 @@ func (x *ColumnMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use ColumnMetadata.ProtoReflect.Descriptor instead.
func (*ColumnMetadata) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{16}
+ return file_store_database_proto_rawDescGZIP(), []int{18}
}
func (x *ColumnMetadata) GetName() string {
@@ -2479,7 +2632,7 @@ type GenerationMetadata struct {
func (x *GenerationMetadata) Reset() {
*x = GenerationMetadata{}
- mi := &file_store_database_proto_msgTypes[17]
+ mi := &file_store_database_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2491,7 +2644,7 @@ func (x *GenerationMetadata) String() string {
func (*GenerationMetadata) ProtoMessage() {}
func (x *GenerationMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[17]
+ mi := &file_store_database_proto_msgTypes[19]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2504,7 +2657,7 @@ func (x *GenerationMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use GenerationMetadata.ProtoReflect.Descriptor instead.
func (*GenerationMetadata) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{17}
+ return file_store_database_proto_rawDescGZIP(), []int{19}
}
func (x *GenerationMetadata) GetType() GenerationMetadata_Type {
@@ -2545,7 +2698,7 @@ type ViewMetadata struct {
func (x *ViewMetadata) Reset() {
*x = ViewMetadata{}
- mi := &file_store_database_proto_msgTypes[18]
+ mi := &file_store_database_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2557,7 +2710,7 @@ func (x *ViewMetadata) String() string {
func (*ViewMetadata) ProtoMessage() {}
func (x *ViewMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[18]
+ mi := &file_store_database_proto_msgTypes[20]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2570,7 +2723,7 @@ func (x *ViewMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use ViewMetadata.ProtoReflect.Descriptor instead.
func (*ViewMetadata) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{18}
+ return file_store_database_proto_rawDescGZIP(), []int{20}
}
func (x *ViewMetadata) GetName() string {
@@ -2644,7 +2797,7 @@ type DependencyColumn struct {
func (x *DependencyColumn) Reset() {
*x = DependencyColumn{}
- mi := &file_store_database_proto_msgTypes[19]
+ mi := &file_store_database_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2656,7 +2809,7 @@ func (x *DependencyColumn) String() string {
func (*DependencyColumn) ProtoMessage() {}
func (x *DependencyColumn) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[19]
+ mi := &file_store_database_proto_msgTypes[21]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2669,7 +2822,7 @@ func (x *DependencyColumn) ProtoReflect() protoreflect.Message {
// Deprecated: Use DependencyColumn.ProtoReflect.Descriptor instead.
func (*DependencyColumn) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{19}
+ return file_store_database_proto_rawDescGZIP(), []int{21}
}
func (x *DependencyColumn) GetSchema() string {
@@ -2715,7 +2868,7 @@ type MaterializedViewMetadata struct {
func (x *MaterializedViewMetadata) Reset() {
*x = MaterializedViewMetadata{}
- mi := &file_store_database_proto_msgTypes[20]
+ mi := &file_store_database_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2727,7 +2880,7 @@ func (x *MaterializedViewMetadata) String() string {
func (*MaterializedViewMetadata) ProtoMessage() {}
func (x *MaterializedViewMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[20]
+ mi := &file_store_database_proto_msgTypes[22]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2740,7 +2893,7 @@ func (x *MaterializedViewMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use MaterializedViewMetadata.ProtoReflect.Descriptor instead.
func (*MaterializedViewMetadata) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{20}
+ return file_store_database_proto_rawDescGZIP(), []int{22}
}
func (x *MaterializedViewMetadata) GetName() string {
@@ -2804,7 +2957,7 @@ type DependencyTable struct {
func (x *DependencyTable) Reset() {
*x = DependencyTable{}
- mi := &file_store_database_proto_msgTypes[21]
+ mi := &file_store_database_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2816,7 +2969,7 @@ func (x *DependencyTable) String() string {
func (*DependencyTable) ProtoMessage() {}
func (x *DependencyTable) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[21]
+ mi := &file_store_database_proto_msgTypes[23]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2829,7 +2982,7 @@ func (x *DependencyTable) ProtoReflect() protoreflect.Message {
// Deprecated: Use DependencyTable.ProtoReflect.Descriptor instead.
func (*DependencyTable) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{21}
+ return file_store_database_proto_rawDescGZIP(), []int{23}
}
func (x *DependencyTable) GetSchema() string {
@@ -2872,7 +3025,7 @@ type FunctionMetadata struct {
func (x *FunctionMetadata) Reset() {
*x = FunctionMetadata{}
- mi := &file_store_database_proto_msgTypes[22]
+ mi := &file_store_database_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2884,7 +3037,7 @@ func (x *FunctionMetadata) String() string {
func (*FunctionMetadata) ProtoMessage() {}
func (x *FunctionMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[22]
+ mi := &file_store_database_proto_msgTypes[24]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2897,7 +3050,7 @@ func (x *FunctionMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use FunctionMetadata.ProtoReflect.Descriptor instead.
func (*FunctionMetadata) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{22}
+ return file_store_database_proto_rawDescGZIP(), []int{24}
}
func (x *FunctionMetadata) GetName() string {
@@ -2993,7 +3146,7 @@ type ProcedureMetadata struct {
func (x *ProcedureMetadata) Reset() {
*x = ProcedureMetadata{}
- mi := &file_store_database_proto_msgTypes[23]
+ mi := &file_store_database_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3005,7 +3158,7 @@ func (x *ProcedureMetadata) String() string {
func (*ProcedureMetadata) ProtoMessage() {}
func (x *ProcedureMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[23]
+ mi := &file_store_database_proto_msgTypes[25]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3018,7 +3171,7 @@ func (x *ProcedureMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use ProcedureMetadata.ProtoReflect.Descriptor instead.
func (*ProcedureMetadata) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{23}
+ return file_store_database_proto_rawDescGZIP(), []int{25}
}
func (x *ProcedureMetadata) GetName() string {
@@ -3097,7 +3250,7 @@ type PackageMetadata struct {
func (x *PackageMetadata) Reset() {
*x = PackageMetadata{}
- mi := &file_store_database_proto_msgTypes[24]
+ mi := &file_store_database_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3109,7 +3262,7 @@ func (x *PackageMetadata) String() string {
func (*PackageMetadata) ProtoMessage() {}
func (x *PackageMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[24]
+ mi := &file_store_database_proto_msgTypes[26]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3122,7 +3275,7 @@ func (x *PackageMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use PackageMetadata.ProtoReflect.Descriptor instead.
func (*PackageMetadata) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{24}
+ return file_store_database_proto_rawDescGZIP(), []int{26}
}
func (x *PackageMetadata) GetName() string {
@@ -3193,7 +3346,7 @@ type IndexMetadata struct {
func (x *IndexMetadata) Reset() {
*x = IndexMetadata{}
- mi := &file_store_database_proto_msgTypes[25]
+ mi := &file_store_database_proto_msgTypes[27]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3205,7 +3358,7 @@ func (x *IndexMetadata) String() string {
func (*IndexMetadata) ProtoMessage() {}
func (x *IndexMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[25]
+ mi := &file_store_database_proto_msgTypes[27]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3218,7 +3371,7 @@ func (x *IndexMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use IndexMetadata.ProtoReflect.Descriptor instead.
func (*IndexMetadata) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{25}
+ return file_store_database_proto_rawDescGZIP(), []int{27}
}
func (x *IndexMetadata) GetName() string {
@@ -3360,7 +3513,7 @@ type SpatialIndexConfig struct {
func (x *SpatialIndexConfig) Reset() {
*x = SpatialIndexConfig{}
- mi := &file_store_database_proto_msgTypes[26]
+ mi := &file_store_database_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3372,7 +3525,7 @@ func (x *SpatialIndexConfig) String() string {
func (*SpatialIndexConfig) ProtoMessage() {}
func (x *SpatialIndexConfig) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[26]
+ mi := &file_store_database_proto_msgTypes[28]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3385,7 +3538,7 @@ func (x *SpatialIndexConfig) ProtoReflect() protoreflect.Message {
// Deprecated: Use SpatialIndexConfig.ProtoReflect.Descriptor instead.
func (*SpatialIndexConfig) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{26}
+ return file_store_database_proto_rawDescGZIP(), []int{28}
}
func (x *SpatialIndexConfig) GetMethod() string {
@@ -3441,7 +3594,7 @@ type TessellationConfig struct {
func (x *TessellationConfig) Reset() {
*x = TessellationConfig{}
- mi := &file_store_database_proto_msgTypes[27]
+ mi := &file_store_database_proto_msgTypes[29]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3453,7 +3606,7 @@ func (x *TessellationConfig) String() string {
func (*TessellationConfig) ProtoMessage() {}
func (x *TessellationConfig) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[27]
+ mi := &file_store_database_proto_msgTypes[29]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3466,7 +3619,7 @@ func (x *TessellationConfig) ProtoReflect() protoreflect.Message {
// Deprecated: Use TessellationConfig.ProtoReflect.Descriptor instead.
func (*TessellationConfig) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{27}
+ return file_store_database_proto_rawDescGZIP(), []int{29}
}
func (x *TessellationConfig) GetScheme() string {
@@ -3510,7 +3663,7 @@ type BoundingBox struct {
func (x *BoundingBox) Reset() {
*x = BoundingBox{}
- mi := &file_store_database_proto_msgTypes[28]
+ mi := &file_store_database_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3522,7 +3675,7 @@ func (x *BoundingBox) String() string {
func (*BoundingBox) ProtoMessage() {}
func (x *BoundingBox) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[28]
+ mi := &file_store_database_proto_msgTypes[30]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3535,7 +3688,7 @@ func (x *BoundingBox) ProtoReflect() protoreflect.Message {
// Deprecated: Use BoundingBox.ProtoReflect.Descriptor instead.
func (*BoundingBox) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{28}
+ return file_store_database_proto_rawDescGZIP(), []int{30}
}
func (x *BoundingBox) GetXmin() float64 {
@@ -3577,7 +3730,7 @@ type GridLevel struct {
func (x *GridLevel) Reset() {
*x = GridLevel{}
- mi := &file_store_database_proto_msgTypes[29]
+ mi := &file_store_database_proto_msgTypes[31]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3589,7 +3742,7 @@ func (x *GridLevel) String() string {
func (*GridLevel) ProtoMessage() {}
func (x *GridLevel) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[29]
+ mi := &file_store_database_proto_msgTypes[31]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3602,7 +3755,7 @@ func (x *GridLevel) ProtoReflect() protoreflect.Message {
// Deprecated: Use GridLevel.ProtoReflect.Descriptor instead.
func (*GridLevel) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{29}
+ return file_store_database_proto_rawDescGZIP(), []int{31}
}
func (x *GridLevel) GetLevel() int32 {
@@ -3645,7 +3798,7 @@ type StorageConfig struct {
func (x *StorageConfig) Reset() {
*x = StorageConfig{}
- mi := &file_store_database_proto_msgTypes[30]
+ mi := &file_store_database_proto_msgTypes[32]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3657,7 +3810,7 @@ func (x *StorageConfig) String() string {
func (*StorageConfig) ProtoMessage() {}
func (x *StorageConfig) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[30]
+ mi := &file_store_database_proto_msgTypes[32]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3670,7 +3823,7 @@ func (x *StorageConfig) ProtoReflect() protoreflect.Message {
// Deprecated: Use StorageConfig.ProtoReflect.Descriptor instead.
func (*StorageConfig) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{30}
+ return file_store_database_proto_rawDescGZIP(), []int{32}
}
func (x *StorageConfig) GetFillfactor() int32 {
@@ -3793,7 +3946,7 @@ type DimensionalConfig struct {
func (x *DimensionalConfig) Reset() {
*x = DimensionalConfig{}
- mi := &file_store_database_proto_msgTypes[31]
+ mi := &file_store_database_proto_msgTypes[33]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3805,7 +3958,7 @@ func (x *DimensionalConfig) String() string {
func (*DimensionalConfig) ProtoMessage() {}
func (x *DimensionalConfig) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[31]
+ mi := &file_store_database_proto_msgTypes[33]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3818,7 +3971,7 @@ func (x *DimensionalConfig) ProtoReflect() protoreflect.Message {
// Deprecated: Use DimensionalConfig.ProtoReflect.Descriptor instead.
func (*DimensionalConfig) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{31}
+ return file_store_database_proto_rawDescGZIP(), []int{33}
}
func (x *DimensionalConfig) GetDimensions() int32 {
@@ -3874,7 +4027,7 @@ type ExtensionMetadata struct {
func (x *ExtensionMetadata) Reset() {
*x = ExtensionMetadata{}
- mi := &file_store_database_proto_msgTypes[32]
+ mi := &file_store_database_proto_msgTypes[34]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3886,7 +4039,7 @@ func (x *ExtensionMetadata) String() string {
func (*ExtensionMetadata) ProtoMessage() {}
func (x *ExtensionMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[32]
+ mi := &file_store_database_proto_msgTypes[34]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3899,7 +4052,7 @@ func (x *ExtensionMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use ExtensionMetadata.ProtoReflect.Descriptor instead.
func (*ExtensionMetadata) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{32}
+ return file_store_database_proto_rawDescGZIP(), []int{34}
}
func (x *ExtensionMetadata) GetName() string {
@@ -3959,7 +4112,7 @@ type EventTriggerMetadata struct {
func (x *EventTriggerMetadata) Reset() {
*x = EventTriggerMetadata{}
- mi := &file_store_database_proto_msgTypes[33]
+ mi := &file_store_database_proto_msgTypes[35]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3971,7 +4124,7 @@ func (x *EventTriggerMetadata) String() string {
func (*EventTriggerMetadata) ProtoMessage() {}
func (x *EventTriggerMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[33]
+ mi := &file_store_database_proto_msgTypes[35]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3984,7 +4137,7 @@ func (x *EventTriggerMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use EventTriggerMetadata.ProtoReflect.Descriptor instead.
func (*EventTriggerMetadata) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{33}
+ return file_store_database_proto_rawDescGZIP(), []int{35}
}
func (x *EventTriggerMetadata) GetName() string {
@@ -4078,7 +4231,7 @@ type ForeignKeyMetadata struct {
func (x *ForeignKeyMetadata) Reset() {
*x = ForeignKeyMetadata{}
- mi := &file_store_database_proto_msgTypes[34]
+ mi := &file_store_database_proto_msgTypes[36]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4090,7 +4243,7 @@ func (x *ForeignKeyMetadata) String() string {
func (*ForeignKeyMetadata) ProtoMessage() {}
func (x *ForeignKeyMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[34]
+ mi := &file_store_database_proto_msgTypes[36]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4103,7 +4256,7 @@ func (x *ForeignKeyMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use ForeignKeyMetadata.ProtoReflect.Descriptor instead.
func (*ForeignKeyMetadata) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{34}
+ return file_store_database_proto_rawDescGZIP(), []int{36}
}
func (x *ForeignKeyMetadata) GetName() string {
@@ -4176,7 +4329,7 @@ type InstanceRoleMetadata struct {
func (x *InstanceRoleMetadata) Reset() {
*x = InstanceRoleMetadata{}
- mi := &file_store_database_proto_msgTypes[35]
+ mi := &file_store_database_proto_msgTypes[37]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4188,7 +4341,7 @@ func (x *InstanceRoleMetadata) String() string {
func (*InstanceRoleMetadata) ProtoMessage() {}
func (x *InstanceRoleMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[35]
+ mi := &file_store_database_proto_msgTypes[37]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4201,7 +4354,7 @@ func (x *InstanceRoleMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use InstanceRoleMetadata.ProtoReflect.Descriptor instead.
func (*InstanceRoleMetadata) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{35}
+ return file_store_database_proto_rawDescGZIP(), []int{37}
}
func (x *InstanceRoleMetadata) GetName() string {
@@ -4229,7 +4382,7 @@ type DatabaseConfig struct {
func (x *DatabaseConfig) Reset() {
*x = DatabaseConfig{}
- mi := &file_store_database_proto_msgTypes[36]
+ mi := &file_store_database_proto_msgTypes[38]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4241,7 +4394,7 @@ func (x *DatabaseConfig) String() string {
func (*DatabaseConfig) ProtoMessage() {}
func (x *DatabaseConfig) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[36]
+ mi := &file_store_database_proto_msgTypes[38]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4254,7 +4407,7 @@ func (x *DatabaseConfig) ProtoReflect() protoreflect.Message {
// Deprecated: Use DatabaseConfig.ProtoReflect.Descriptor instead.
func (*DatabaseConfig) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{36}
+ return file_store_database_proto_rawDescGZIP(), []int{38}
}
func (x *DatabaseConfig) GetName() string {
@@ -4284,7 +4437,7 @@ type SchemaCatalog struct {
func (x *SchemaCatalog) Reset() {
*x = SchemaCatalog{}
- mi := &file_store_database_proto_msgTypes[37]
+ mi := &file_store_database_proto_msgTypes[39]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4296,7 +4449,7 @@ func (x *SchemaCatalog) String() string {
func (*SchemaCatalog) ProtoMessage() {}
func (x *SchemaCatalog) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[37]
+ mi := &file_store_database_proto_msgTypes[39]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4309,7 +4462,7 @@ func (x *SchemaCatalog) ProtoReflect() protoreflect.Message {
// Deprecated: Use SchemaCatalog.ProtoReflect.Descriptor instead.
func (*SchemaCatalog) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{37}
+ return file_store_database_proto_rawDescGZIP(), []int{39}
}
func (x *SchemaCatalog) GetName() string {
@@ -4340,7 +4493,7 @@ type TableCatalog struct {
func (x *TableCatalog) Reset() {
*x = TableCatalog{}
- mi := &file_store_database_proto_msgTypes[38]
+ mi := &file_store_database_proto_msgTypes[40]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4352,7 +4505,7 @@ func (x *TableCatalog) String() string {
func (*TableCatalog) ProtoMessage() {}
func (x *TableCatalog) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[38]
+ mi := &file_store_database_proto_msgTypes[40]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4365,7 +4518,7 @@ func (x *TableCatalog) ProtoReflect() protoreflect.Message {
// Deprecated: Use TableCatalog.ProtoReflect.Descriptor instead.
func (*TableCatalog) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{38}
+ return file_store_database_proto_rawDescGZIP(), []int{40}
}
func (x *TableCatalog) GetName() string {
@@ -4411,7 +4564,7 @@ type ColumnCatalog struct {
func (x *ColumnCatalog) Reset() {
*x = ColumnCatalog{}
- mi := &file_store_database_proto_msgTypes[39]
+ mi := &file_store_database_proto_msgTypes[41]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4423,7 +4576,7 @@ func (x *ColumnCatalog) String() string {
func (*ColumnCatalog) ProtoMessage() {}
func (x *ColumnCatalog) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[39]
+ mi := &file_store_database_proto_msgTypes[41]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4436,7 +4589,7 @@ func (x *ColumnCatalog) ProtoReflect() protoreflect.Message {
// Deprecated: Use ColumnCatalog.ProtoReflect.Descriptor instead.
func (*ColumnCatalog) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{39}
+ return file_store_database_proto_rawDescGZIP(), []int{41}
}
func (x *ColumnCatalog) GetName() string {
@@ -4489,7 +4642,7 @@ type ObjectSchema struct {
func (x *ObjectSchema) Reset() {
*x = ObjectSchema{}
- mi := &file_store_database_proto_msgTypes[40]
+ mi := &file_store_database_proto_msgTypes[42]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4501,7 +4654,7 @@ func (x *ObjectSchema) String() string {
func (*ObjectSchema) ProtoMessage() {}
func (x *ObjectSchema) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[40]
+ mi := &file_store_database_proto_msgTypes[42]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4514,7 +4667,7 @@ func (x *ObjectSchema) ProtoReflect() protoreflect.Message {
// Deprecated: Use ObjectSchema.ProtoReflect.Descriptor instead.
func (*ObjectSchema) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{40}
+ return file_store_database_proto_rawDescGZIP(), []int{42}
}
func (x *ObjectSchema) GetType() ObjectSchema_Type {
@@ -4581,7 +4734,7 @@ type ObjectSchema_StructKind struct {
func (x *ObjectSchema_StructKind) Reset() {
*x = ObjectSchema_StructKind{}
- mi := &file_store_database_proto_msgTypes[44]
+ mi := &file_store_database_proto_msgTypes[46]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4593,7 +4746,7 @@ func (x *ObjectSchema_StructKind) String() string {
func (*ObjectSchema_StructKind) ProtoMessage() {}
func (x *ObjectSchema_StructKind) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[44]
+ mi := &file_store_database_proto_msgTypes[46]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4606,7 +4759,7 @@ func (x *ObjectSchema_StructKind) ProtoReflect() protoreflect.Message {
// Deprecated: Use ObjectSchema_StructKind.ProtoReflect.Descriptor instead.
func (*ObjectSchema_StructKind) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{40, 0}
+ return file_store_database_proto_rawDescGZIP(), []int{42, 0}
}
func (x *ObjectSchema_StructKind) GetProperties() map[string]*ObjectSchema {
@@ -4625,7 +4778,7 @@ type ObjectSchema_ArrayKind struct {
func (x *ObjectSchema_ArrayKind) Reset() {
*x = ObjectSchema_ArrayKind{}
- mi := &file_store_database_proto_msgTypes[45]
+ mi := &file_store_database_proto_msgTypes[47]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4637,7 +4790,7 @@ func (x *ObjectSchema_ArrayKind) String() string {
func (*ObjectSchema_ArrayKind) ProtoMessage() {}
func (x *ObjectSchema_ArrayKind) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[45]
+ mi := &file_store_database_proto_msgTypes[47]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4650,7 +4803,7 @@ func (x *ObjectSchema_ArrayKind) ProtoReflect() protoreflect.Message {
// Deprecated: Use ObjectSchema_ArrayKind.ProtoReflect.Descriptor instead.
func (*ObjectSchema_ArrayKind) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{40, 1}
+ return file_store_database_proto_rawDescGZIP(), []int{42, 1}
}
func (x *ObjectSchema_ArrayKind) GetKind() *ObjectSchema {
@@ -4698,7 +4851,7 @@ const file_store_database_proto_rawDesc = "" +
"\x16LinkedDatabaseMetadata\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\x12\x1a\n" +
"\busername\x18\x02 \x01(\tR\busername\x12\x12\n" +
- "\x04host\x18\x03 \x01(\tR\x04host\"\xeb\x06\n" +
+ "\x04host\x18\x03 \x01(\tR\x04host\"\xbb\a\n" +
"\x0eSchemaMetadata\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\x125\n" +
"\x06tables\x18\x02 \x03(\v2\x1d.bytebase.store.TableMetadataR\x06tables\x12N\n" +
@@ -4719,12 +4872,25 @@ const file_store_database_proto_rawDesc = "" +
"\x06events\x18\x0e \x03(\v2\x1d.bytebase.store.EventMetadataR\x06events\x12?\n" +
"\n" +
"enum_types\x18\x0f \x03(\v2 .bytebase.store.EnumTypeMetadataR\tenumTypes\x12\x1b\n" +
- "\tskip_dump\x18\x10 \x01(\bR\bskipDump\"u\n" +
+ "\tskip_dump\x18\x10 \x01(\bR\bskipDump\x12N\n" +
+ "\x0fcomposite_types\x18\x11 \x03(\v2%.bytebase.store.CompositeTypeMetadataR\x0ecompositeTypes\"u\n" +
"\x10EnumTypeMetadata\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\x12\x16\n" +
"\x06values\x18\x02 \x03(\tR\x06values\x12\x18\n" +
"\acomment\x18\x03 \x01(\tR\acomment\x12\x1b\n" +
- "\tskip_dump\x18\x04 \x01(\bR\bskipDump\"\xfa\x01\n" +
+ "\tskip_dump\x18\x04 \x01(\bR\bskipDump\"\xaa\x01\n" +
+ "\x15CompositeTypeMetadata\x12\x12\n" +
+ "\x04name\x18\x01 \x01(\tR\x04name\x12F\n" +
+ "\n" +
+ "attributes\x18\x02 \x03(\v2&.bytebase.store.CompositeTypeAttributeR\n" +
+ "attributes\x12\x18\n" +
+ "\acomment\x18\x03 \x01(\tR\acomment\x12\x1b\n" +
+ "\tskip_dump\x18\x04 \x01(\bR\bskipDump\"x\n" +
+ "\x16CompositeTypeAttribute\x12\x12\n" +
+ "\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n" +
+ "\x04type\x18\x02 \x01(\tR\x04type\x12\x1c\n" +
+ "\tcollation\x18\x03 \x01(\tR\tcollation\x12\x18\n" +
+ "\acomment\x18\x04 \x01(\tR\acomment\"\xfa\x01\n" +
"\rEventMetadata\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\x12\x1e\n" +
"\n" +
@@ -5156,7 +5322,7 @@ func file_store_database_proto_rawDescGZIP() []byte {
}
var file_store_database_proto_enumTypes = make([]protoimpl.EnumInfo, 8)
-var file_store_database_proto_msgTypes = make([]protoimpl.MessageInfo, 47)
+var file_store_database_proto_msgTypes = make([]protoimpl.MessageInfo, 49)
var file_store_database_proto_goTypes = []any{
(SyncStatus)(0), // 0: bytebase.store.SyncStatus
(TaskMetadata_State)(0), // 1: bytebase.store.TaskMetadata.State
@@ -5171,122 +5337,126 @@ var file_store_database_proto_goTypes = []any{
(*LinkedDatabaseMetadata)(nil), // 10: bytebase.store.LinkedDatabaseMetadata
(*SchemaMetadata)(nil), // 11: bytebase.store.SchemaMetadata
(*EnumTypeMetadata)(nil), // 12: bytebase.store.EnumTypeMetadata
- (*EventMetadata)(nil), // 13: bytebase.store.EventMetadata
- (*SequenceMetadata)(nil), // 14: bytebase.store.SequenceMetadata
- (*TriggerMetadata)(nil), // 15: bytebase.store.TriggerMetadata
- (*RuleMetadata)(nil), // 16: bytebase.store.RuleMetadata
- (*TaskMetadata)(nil), // 17: bytebase.store.TaskMetadata
- (*StreamMetadata)(nil), // 18: bytebase.store.StreamMetadata
- (*TableMetadata)(nil), // 19: bytebase.store.TableMetadata
- (*CheckConstraintMetadata)(nil), // 20: bytebase.store.CheckConstraintMetadata
- (*ExcludeConstraintMetadata)(nil), // 21: bytebase.store.ExcludeConstraintMetadata
- (*ExternalTableMetadata)(nil), // 22: bytebase.store.ExternalTableMetadata
- (*TablePartitionMetadata)(nil), // 23: bytebase.store.TablePartitionMetadata
- (*ColumnMetadata)(nil), // 24: bytebase.store.ColumnMetadata
- (*GenerationMetadata)(nil), // 25: bytebase.store.GenerationMetadata
- (*ViewMetadata)(nil), // 26: bytebase.store.ViewMetadata
- (*DependencyColumn)(nil), // 27: bytebase.store.DependencyColumn
- (*MaterializedViewMetadata)(nil), // 28: bytebase.store.MaterializedViewMetadata
- (*DependencyTable)(nil), // 29: bytebase.store.DependencyTable
- (*FunctionMetadata)(nil), // 30: bytebase.store.FunctionMetadata
- (*ProcedureMetadata)(nil), // 31: bytebase.store.ProcedureMetadata
- (*PackageMetadata)(nil), // 32: bytebase.store.PackageMetadata
- (*IndexMetadata)(nil), // 33: bytebase.store.IndexMetadata
- (*SpatialIndexConfig)(nil), // 34: bytebase.store.SpatialIndexConfig
- (*TessellationConfig)(nil), // 35: bytebase.store.TessellationConfig
- (*BoundingBox)(nil), // 36: bytebase.store.BoundingBox
- (*GridLevel)(nil), // 37: bytebase.store.GridLevel
- (*StorageConfig)(nil), // 38: bytebase.store.StorageConfig
- (*DimensionalConfig)(nil), // 39: bytebase.store.DimensionalConfig
- (*ExtensionMetadata)(nil), // 40: bytebase.store.ExtensionMetadata
- (*EventTriggerMetadata)(nil), // 41: bytebase.store.EventTriggerMetadata
- (*ForeignKeyMetadata)(nil), // 42: bytebase.store.ForeignKeyMetadata
- (*InstanceRoleMetadata)(nil), // 43: bytebase.store.InstanceRoleMetadata
- (*DatabaseConfig)(nil), // 44: bytebase.store.DatabaseConfig
- (*SchemaCatalog)(nil), // 45: bytebase.store.SchemaCatalog
- (*TableCatalog)(nil), // 46: bytebase.store.TableCatalog
- (*ColumnCatalog)(nil), // 47: bytebase.store.ColumnCatalog
- (*ObjectSchema)(nil), // 48: bytebase.store.ObjectSchema
- nil, // 49: bytebase.store.DatabaseMetadata.LabelsEntry
- nil, // 50: bytebase.store.SpatialIndexConfig.EngineSpecificEntry
- nil, // 51: bytebase.store.ColumnCatalog.LabelsEntry
- (*ObjectSchema_StructKind)(nil), // 52: bytebase.store.ObjectSchema.StructKind
- (*ObjectSchema_ArrayKind)(nil), // 53: bytebase.store.ObjectSchema.ArrayKind
- nil, // 54: bytebase.store.ObjectSchema.StructKind.PropertiesEntry
- (*timestamppb.Timestamp)(nil), // 55: google.protobuf.Timestamp
+ (*CompositeTypeMetadata)(nil), // 13: bytebase.store.CompositeTypeMetadata
+ (*CompositeTypeAttribute)(nil), // 14: bytebase.store.CompositeTypeAttribute
+ (*EventMetadata)(nil), // 15: bytebase.store.EventMetadata
+ (*SequenceMetadata)(nil), // 16: bytebase.store.SequenceMetadata
+ (*TriggerMetadata)(nil), // 17: bytebase.store.TriggerMetadata
+ (*RuleMetadata)(nil), // 18: bytebase.store.RuleMetadata
+ (*TaskMetadata)(nil), // 19: bytebase.store.TaskMetadata
+ (*StreamMetadata)(nil), // 20: bytebase.store.StreamMetadata
+ (*TableMetadata)(nil), // 21: bytebase.store.TableMetadata
+ (*CheckConstraintMetadata)(nil), // 22: bytebase.store.CheckConstraintMetadata
+ (*ExcludeConstraintMetadata)(nil), // 23: bytebase.store.ExcludeConstraintMetadata
+ (*ExternalTableMetadata)(nil), // 24: bytebase.store.ExternalTableMetadata
+ (*TablePartitionMetadata)(nil), // 25: bytebase.store.TablePartitionMetadata
+ (*ColumnMetadata)(nil), // 26: bytebase.store.ColumnMetadata
+ (*GenerationMetadata)(nil), // 27: bytebase.store.GenerationMetadata
+ (*ViewMetadata)(nil), // 28: bytebase.store.ViewMetadata
+ (*DependencyColumn)(nil), // 29: bytebase.store.DependencyColumn
+ (*MaterializedViewMetadata)(nil), // 30: bytebase.store.MaterializedViewMetadata
+ (*DependencyTable)(nil), // 31: bytebase.store.DependencyTable
+ (*FunctionMetadata)(nil), // 32: bytebase.store.FunctionMetadata
+ (*ProcedureMetadata)(nil), // 33: bytebase.store.ProcedureMetadata
+ (*PackageMetadata)(nil), // 34: bytebase.store.PackageMetadata
+ (*IndexMetadata)(nil), // 35: bytebase.store.IndexMetadata
+ (*SpatialIndexConfig)(nil), // 36: bytebase.store.SpatialIndexConfig
+ (*TessellationConfig)(nil), // 37: bytebase.store.TessellationConfig
+ (*BoundingBox)(nil), // 38: bytebase.store.BoundingBox
+ (*GridLevel)(nil), // 39: bytebase.store.GridLevel
+ (*StorageConfig)(nil), // 40: bytebase.store.StorageConfig
+ (*DimensionalConfig)(nil), // 41: bytebase.store.DimensionalConfig
+ (*ExtensionMetadata)(nil), // 42: bytebase.store.ExtensionMetadata
+ (*EventTriggerMetadata)(nil), // 43: bytebase.store.EventTriggerMetadata
+ (*ForeignKeyMetadata)(nil), // 44: bytebase.store.ForeignKeyMetadata
+ (*InstanceRoleMetadata)(nil), // 45: bytebase.store.InstanceRoleMetadata
+ (*DatabaseConfig)(nil), // 46: bytebase.store.DatabaseConfig
+ (*SchemaCatalog)(nil), // 47: bytebase.store.SchemaCatalog
+ (*TableCatalog)(nil), // 48: bytebase.store.TableCatalog
+ (*ColumnCatalog)(nil), // 49: bytebase.store.ColumnCatalog
+ (*ObjectSchema)(nil), // 50: bytebase.store.ObjectSchema
+ nil, // 51: bytebase.store.DatabaseMetadata.LabelsEntry
+ nil, // 52: bytebase.store.SpatialIndexConfig.EngineSpecificEntry
+ nil, // 53: bytebase.store.ColumnCatalog.LabelsEntry
+ (*ObjectSchema_StructKind)(nil), // 54: bytebase.store.ObjectSchema.StructKind
+ (*ObjectSchema_ArrayKind)(nil), // 55: bytebase.store.ObjectSchema.ArrayKind
+ nil, // 56: bytebase.store.ObjectSchema.StructKind.PropertiesEntry
+ (*timestamppb.Timestamp)(nil), // 57: google.protobuf.Timestamp
}
var file_store_database_proto_depIdxs = []int32{
- 49, // 0: bytebase.store.DatabaseMetadata.labels:type_name -> bytebase.store.DatabaseMetadata.LabelsEntry
- 55, // 1: bytebase.store.DatabaseMetadata.last_sync_time:type_name -> google.protobuf.Timestamp
+ 51, // 0: bytebase.store.DatabaseMetadata.labels:type_name -> bytebase.store.DatabaseMetadata.LabelsEntry
+ 57, // 1: bytebase.store.DatabaseMetadata.last_sync_time:type_name -> google.protobuf.Timestamp
0, // 2: bytebase.store.DatabaseMetadata.sync_status:type_name -> bytebase.store.SyncStatus
11, // 3: bytebase.store.DatabaseSchemaMetadata.schemas:type_name -> bytebase.store.SchemaMetadata
- 40, // 4: bytebase.store.DatabaseSchemaMetadata.extensions:type_name -> bytebase.store.ExtensionMetadata
+ 42, // 4: bytebase.store.DatabaseSchemaMetadata.extensions:type_name -> bytebase.store.ExtensionMetadata
10, // 5: bytebase.store.DatabaseSchemaMetadata.linked_databases:type_name -> bytebase.store.LinkedDatabaseMetadata
- 41, // 6: bytebase.store.DatabaseSchemaMetadata.event_triggers:type_name -> bytebase.store.EventTriggerMetadata
- 19, // 7: bytebase.store.SchemaMetadata.tables:type_name -> bytebase.store.TableMetadata
- 22, // 8: bytebase.store.SchemaMetadata.external_tables:type_name -> bytebase.store.ExternalTableMetadata
- 26, // 9: bytebase.store.SchemaMetadata.views:type_name -> bytebase.store.ViewMetadata
- 30, // 10: bytebase.store.SchemaMetadata.functions:type_name -> bytebase.store.FunctionMetadata
- 31, // 11: bytebase.store.SchemaMetadata.procedures:type_name -> bytebase.store.ProcedureMetadata
- 18, // 12: bytebase.store.SchemaMetadata.streams:type_name -> bytebase.store.StreamMetadata
- 17, // 13: bytebase.store.SchemaMetadata.tasks:type_name -> bytebase.store.TaskMetadata
- 28, // 14: bytebase.store.SchemaMetadata.materialized_views:type_name -> bytebase.store.MaterializedViewMetadata
- 14, // 15: bytebase.store.SchemaMetadata.sequences:type_name -> bytebase.store.SequenceMetadata
- 32, // 16: bytebase.store.SchemaMetadata.packages:type_name -> bytebase.store.PackageMetadata
- 13, // 17: bytebase.store.SchemaMetadata.events:type_name -> bytebase.store.EventMetadata
+ 43, // 6: bytebase.store.DatabaseSchemaMetadata.event_triggers:type_name -> bytebase.store.EventTriggerMetadata
+ 21, // 7: bytebase.store.SchemaMetadata.tables:type_name -> bytebase.store.TableMetadata
+ 24, // 8: bytebase.store.SchemaMetadata.external_tables:type_name -> bytebase.store.ExternalTableMetadata
+ 28, // 9: bytebase.store.SchemaMetadata.views:type_name -> bytebase.store.ViewMetadata
+ 32, // 10: bytebase.store.SchemaMetadata.functions:type_name -> bytebase.store.FunctionMetadata
+ 33, // 11: bytebase.store.SchemaMetadata.procedures:type_name -> bytebase.store.ProcedureMetadata
+ 20, // 12: bytebase.store.SchemaMetadata.streams:type_name -> bytebase.store.StreamMetadata
+ 19, // 13: bytebase.store.SchemaMetadata.tasks:type_name -> bytebase.store.TaskMetadata
+ 30, // 14: bytebase.store.SchemaMetadata.materialized_views:type_name -> bytebase.store.MaterializedViewMetadata
+ 16, // 15: bytebase.store.SchemaMetadata.sequences:type_name -> bytebase.store.SequenceMetadata
+ 34, // 16: bytebase.store.SchemaMetadata.packages:type_name -> bytebase.store.PackageMetadata
+ 15, // 17: bytebase.store.SchemaMetadata.events:type_name -> bytebase.store.EventMetadata
12, // 18: bytebase.store.SchemaMetadata.enum_types:type_name -> bytebase.store.EnumTypeMetadata
- 1, // 19: bytebase.store.TaskMetadata.state:type_name -> bytebase.store.TaskMetadata.State
- 2, // 20: bytebase.store.StreamMetadata.type:type_name -> bytebase.store.StreamMetadata.Type
- 3, // 21: bytebase.store.StreamMetadata.mode:type_name -> bytebase.store.StreamMetadata.Mode
- 24, // 22: bytebase.store.TableMetadata.columns:type_name -> bytebase.store.ColumnMetadata
- 33, // 23: bytebase.store.TableMetadata.indexes:type_name -> bytebase.store.IndexMetadata
- 42, // 24: bytebase.store.TableMetadata.foreign_keys:type_name -> bytebase.store.ForeignKeyMetadata
- 23, // 25: bytebase.store.TableMetadata.partitions:type_name -> bytebase.store.TablePartitionMetadata
- 20, // 26: bytebase.store.TableMetadata.check_constraints:type_name -> bytebase.store.CheckConstraintMetadata
- 15, // 27: bytebase.store.TableMetadata.triggers:type_name -> bytebase.store.TriggerMetadata
- 16, // 28: bytebase.store.TableMetadata.rules:type_name -> bytebase.store.RuleMetadata
- 21, // 29: bytebase.store.TableMetadata.exclude_constraints:type_name -> bytebase.store.ExcludeConstraintMetadata
- 24, // 30: bytebase.store.ExternalTableMetadata.columns:type_name -> bytebase.store.ColumnMetadata
- 4, // 31: bytebase.store.TablePartitionMetadata.type:type_name -> bytebase.store.TablePartitionMetadata.Type
- 23, // 32: bytebase.store.TablePartitionMetadata.subpartitions:type_name -> bytebase.store.TablePartitionMetadata
- 33, // 33: bytebase.store.TablePartitionMetadata.indexes:type_name -> bytebase.store.IndexMetadata
- 20, // 34: bytebase.store.TablePartitionMetadata.check_constraints:type_name -> bytebase.store.CheckConstraintMetadata
- 21, // 35: bytebase.store.TablePartitionMetadata.exclude_constraints:type_name -> bytebase.store.ExcludeConstraintMetadata
- 25, // 36: bytebase.store.ColumnMetadata.generation:type_name -> bytebase.store.GenerationMetadata
- 5, // 37: bytebase.store.ColumnMetadata.identity_generation:type_name -> bytebase.store.ColumnMetadata.IdentityGeneration
- 6, // 38: bytebase.store.GenerationMetadata.type:type_name -> bytebase.store.GenerationMetadata.Type
- 27, // 39: bytebase.store.ViewMetadata.dependency_columns:type_name -> bytebase.store.DependencyColumn
- 24, // 40: bytebase.store.ViewMetadata.columns:type_name -> bytebase.store.ColumnMetadata
- 15, // 41: bytebase.store.ViewMetadata.triggers:type_name -> bytebase.store.TriggerMetadata
- 16, // 42: bytebase.store.ViewMetadata.rules:type_name -> bytebase.store.RuleMetadata
- 27, // 43: bytebase.store.MaterializedViewMetadata.dependency_columns:type_name -> bytebase.store.DependencyColumn
- 15, // 44: bytebase.store.MaterializedViewMetadata.triggers:type_name -> bytebase.store.TriggerMetadata
- 33, // 45: bytebase.store.MaterializedViewMetadata.indexes:type_name -> bytebase.store.IndexMetadata
- 29, // 46: bytebase.store.FunctionMetadata.dependency_tables:type_name -> bytebase.store.DependencyTable
- 34, // 47: bytebase.store.IndexMetadata.spatial_config:type_name -> bytebase.store.SpatialIndexConfig
- 35, // 48: bytebase.store.SpatialIndexConfig.tessellation:type_name -> bytebase.store.TessellationConfig
- 38, // 49: bytebase.store.SpatialIndexConfig.storage:type_name -> bytebase.store.StorageConfig
- 39, // 50: bytebase.store.SpatialIndexConfig.dimensional:type_name -> bytebase.store.DimensionalConfig
- 50, // 51: bytebase.store.SpatialIndexConfig.engine_specific:type_name -> bytebase.store.SpatialIndexConfig.EngineSpecificEntry
- 36, // 52: bytebase.store.TessellationConfig.bounding_box:type_name -> bytebase.store.BoundingBox
- 37, // 53: bytebase.store.TessellationConfig.grid_levels:type_name -> bytebase.store.GridLevel
- 45, // 54: bytebase.store.DatabaseConfig.schemas:type_name -> bytebase.store.SchemaCatalog
- 46, // 55: bytebase.store.SchemaCatalog.tables:type_name -> bytebase.store.TableCatalog
- 47, // 56: bytebase.store.TableCatalog.columns:type_name -> bytebase.store.ColumnCatalog
- 48, // 57: bytebase.store.TableCatalog.object_schema:type_name -> bytebase.store.ObjectSchema
- 51, // 58: bytebase.store.ColumnCatalog.labels:type_name -> bytebase.store.ColumnCatalog.LabelsEntry
- 48, // 59: bytebase.store.ColumnCatalog.object_schema:type_name -> bytebase.store.ObjectSchema
- 7, // 60: bytebase.store.ObjectSchema.type:type_name -> bytebase.store.ObjectSchema.Type
- 52, // 61: bytebase.store.ObjectSchema.struct_kind:type_name -> bytebase.store.ObjectSchema.StructKind
- 53, // 62: bytebase.store.ObjectSchema.array_kind:type_name -> bytebase.store.ObjectSchema.ArrayKind
- 54, // 63: bytebase.store.ObjectSchema.StructKind.properties:type_name -> bytebase.store.ObjectSchema.StructKind.PropertiesEntry
- 48, // 64: bytebase.store.ObjectSchema.ArrayKind.kind:type_name -> bytebase.store.ObjectSchema
- 48, // 65: bytebase.store.ObjectSchema.StructKind.PropertiesEntry.value:type_name -> bytebase.store.ObjectSchema
- 66, // [66:66] is the sub-list for method output_type
- 66, // [66:66] is the sub-list for method input_type
- 66, // [66:66] is the sub-list for extension type_name
- 66, // [66:66] is the sub-list for extension extendee
- 0, // [0:66] is the sub-list for field type_name
+ 13, // 19: bytebase.store.SchemaMetadata.composite_types:type_name -> bytebase.store.CompositeTypeMetadata
+ 14, // 20: bytebase.store.CompositeTypeMetadata.attributes:type_name -> bytebase.store.CompositeTypeAttribute
+ 1, // 21: bytebase.store.TaskMetadata.state:type_name -> bytebase.store.TaskMetadata.State
+ 2, // 22: bytebase.store.StreamMetadata.type:type_name -> bytebase.store.StreamMetadata.Type
+ 3, // 23: bytebase.store.StreamMetadata.mode:type_name -> bytebase.store.StreamMetadata.Mode
+ 26, // 24: bytebase.store.TableMetadata.columns:type_name -> bytebase.store.ColumnMetadata
+ 35, // 25: bytebase.store.TableMetadata.indexes:type_name -> bytebase.store.IndexMetadata
+ 44, // 26: bytebase.store.TableMetadata.foreign_keys:type_name -> bytebase.store.ForeignKeyMetadata
+ 25, // 27: bytebase.store.TableMetadata.partitions:type_name -> bytebase.store.TablePartitionMetadata
+ 22, // 28: bytebase.store.TableMetadata.check_constraints:type_name -> bytebase.store.CheckConstraintMetadata
+ 17, // 29: bytebase.store.TableMetadata.triggers:type_name -> bytebase.store.TriggerMetadata
+ 18, // 30: bytebase.store.TableMetadata.rules:type_name -> bytebase.store.RuleMetadata
+ 23, // 31: bytebase.store.TableMetadata.exclude_constraints:type_name -> bytebase.store.ExcludeConstraintMetadata
+ 26, // 32: bytebase.store.ExternalTableMetadata.columns:type_name -> bytebase.store.ColumnMetadata
+ 4, // 33: bytebase.store.TablePartitionMetadata.type:type_name -> bytebase.store.TablePartitionMetadata.Type
+ 25, // 34: bytebase.store.TablePartitionMetadata.subpartitions:type_name -> bytebase.store.TablePartitionMetadata
+ 35, // 35: bytebase.store.TablePartitionMetadata.indexes:type_name -> bytebase.store.IndexMetadata
+ 22, // 36: bytebase.store.TablePartitionMetadata.check_constraints:type_name -> bytebase.store.CheckConstraintMetadata
+ 23, // 37: bytebase.store.TablePartitionMetadata.exclude_constraints:type_name -> bytebase.store.ExcludeConstraintMetadata
+ 27, // 38: bytebase.store.ColumnMetadata.generation:type_name -> bytebase.store.GenerationMetadata
+ 5, // 39: bytebase.store.ColumnMetadata.identity_generation:type_name -> bytebase.store.ColumnMetadata.IdentityGeneration
+ 6, // 40: bytebase.store.GenerationMetadata.type:type_name -> bytebase.store.GenerationMetadata.Type
+ 29, // 41: bytebase.store.ViewMetadata.dependency_columns:type_name -> bytebase.store.DependencyColumn
+ 26, // 42: bytebase.store.ViewMetadata.columns:type_name -> bytebase.store.ColumnMetadata
+ 17, // 43: bytebase.store.ViewMetadata.triggers:type_name -> bytebase.store.TriggerMetadata
+ 18, // 44: bytebase.store.ViewMetadata.rules:type_name -> bytebase.store.RuleMetadata
+ 29, // 45: bytebase.store.MaterializedViewMetadata.dependency_columns:type_name -> bytebase.store.DependencyColumn
+ 17, // 46: bytebase.store.MaterializedViewMetadata.triggers:type_name -> bytebase.store.TriggerMetadata
+ 35, // 47: bytebase.store.MaterializedViewMetadata.indexes:type_name -> bytebase.store.IndexMetadata
+ 31, // 48: bytebase.store.FunctionMetadata.dependency_tables:type_name -> bytebase.store.DependencyTable
+ 36, // 49: bytebase.store.IndexMetadata.spatial_config:type_name -> bytebase.store.SpatialIndexConfig
+ 37, // 50: bytebase.store.SpatialIndexConfig.tessellation:type_name -> bytebase.store.TessellationConfig
+ 40, // 51: bytebase.store.SpatialIndexConfig.storage:type_name -> bytebase.store.StorageConfig
+ 41, // 52: bytebase.store.SpatialIndexConfig.dimensional:type_name -> bytebase.store.DimensionalConfig
+ 52, // 53: bytebase.store.SpatialIndexConfig.engine_specific:type_name -> bytebase.store.SpatialIndexConfig.EngineSpecificEntry
+ 38, // 54: bytebase.store.TessellationConfig.bounding_box:type_name -> bytebase.store.BoundingBox
+ 39, // 55: bytebase.store.TessellationConfig.grid_levels:type_name -> bytebase.store.GridLevel
+ 47, // 56: bytebase.store.DatabaseConfig.schemas:type_name -> bytebase.store.SchemaCatalog
+ 48, // 57: bytebase.store.SchemaCatalog.tables:type_name -> bytebase.store.TableCatalog
+ 49, // 58: bytebase.store.TableCatalog.columns:type_name -> bytebase.store.ColumnCatalog
+ 50, // 59: bytebase.store.TableCatalog.object_schema:type_name -> bytebase.store.ObjectSchema
+ 53, // 60: bytebase.store.ColumnCatalog.labels:type_name -> bytebase.store.ColumnCatalog.LabelsEntry
+ 50, // 61: bytebase.store.ColumnCatalog.object_schema:type_name -> bytebase.store.ObjectSchema
+ 7, // 62: bytebase.store.ObjectSchema.type:type_name -> bytebase.store.ObjectSchema.Type
+ 54, // 63: bytebase.store.ObjectSchema.struct_kind:type_name -> bytebase.store.ObjectSchema.StructKind
+ 55, // 64: bytebase.store.ObjectSchema.array_kind:type_name -> bytebase.store.ObjectSchema.ArrayKind
+ 56, // 65: bytebase.store.ObjectSchema.StructKind.properties:type_name -> bytebase.store.ObjectSchema.StructKind.PropertiesEntry
+ 50, // 66: bytebase.store.ObjectSchema.ArrayKind.kind:type_name -> bytebase.store.ObjectSchema
+ 50, // 67: bytebase.store.ObjectSchema.StructKind.PropertiesEntry.value:type_name -> bytebase.store.ObjectSchema
+ 68, // [68:68] is the sub-list for method output_type
+ 68, // [68:68] is the sub-list for method input_type
+ 68, // [68:68] is the sub-list for extension type_name
+ 68, // [68:68] is the sub-list for extension extendee
+ 0, // [0:68] is the sub-list for field type_name
}
func init() { file_store_database_proto_init() }
@@ -5294,10 +5464,10 @@ func file_store_database_proto_init() {
if File_store_database_proto != nil {
return
}
- file_store_database_proto_msgTypes[16].OneofWrappers = []any{}
- file_store_database_proto_msgTypes[38].OneofWrappers = []any{}
- file_store_database_proto_msgTypes[39].OneofWrappers = []any{}
- file_store_database_proto_msgTypes[40].OneofWrappers = []any{
+ file_store_database_proto_msgTypes[18].OneofWrappers = []any{}
+ file_store_database_proto_msgTypes[40].OneofWrappers = []any{}
+ file_store_database_proto_msgTypes[41].OneofWrappers = []any{}
+ file_store_database_proto_msgTypes[42].OneofWrappers = []any{
(*ObjectSchema_StructKind_)(nil),
(*ObjectSchema_ArrayKind_)(nil),
}
@@ -5307,7 +5477,7 @@ func file_store_database_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_store_database_proto_rawDesc), len(file_store_database_proto_rawDesc)),
NumEnums: 8,
- NumMessages: 47,
+ NumMessages: 49,
NumExtensions: 0,
NumServices: 0,
},
diff --git a/backend/generated-go/store/database_equal.pb.go b/backend/generated-go/store/database_equal.pb.go
index 2247586fdf..61c18ff1e8 100644
--- a/backend/generated-go/store/database_equal.pb.go
+++ b/backend/generated-go/store/database_equal.pb.go
@@ -244,6 +244,14 @@ func (x *SchemaMetadata) Equal(y *SchemaMetadata) bool {
if x.SkipDump != y.SkipDump {
return false
}
+ if len(x.CompositeTypes) != len(y.CompositeTypes) {
+ return false
+ }
+ for i := 0; i < len(x.CompositeTypes); i++ {
+ if !x.CompositeTypes[i].Equal(y.CompositeTypes[i]) {
+ return false
+ }
+ }
return true
}
@@ -274,6 +282,55 @@ func (x *EnumTypeMetadata) Equal(y *EnumTypeMetadata) bool {
return true
}
+func (x *CompositeTypeMetadata) Equal(y *CompositeTypeMetadata) bool {
+ if x == y {
+ return true
+ }
+ if x == nil || y == nil {
+ return x == nil && y == nil
+ }
+ if x.Name != y.Name {
+ return false
+ }
+ if len(x.Attributes) != len(y.Attributes) {
+ return false
+ }
+ for i := 0; i < len(x.Attributes); i++ {
+ if !x.Attributes[i].Equal(y.Attributes[i]) {
+ return false
+ }
+ }
+ if x.Comment != y.Comment {
+ return false
+ }
+ if x.SkipDump != y.SkipDump {
+ return false
+ }
+ return true
+}
+
+func (x *CompositeTypeAttribute) Equal(y *CompositeTypeAttribute) bool {
+ if x == y {
+ return true
+ }
+ if x == nil || y == nil {
+ return x == nil && y == nil
+ }
+ if x.Name != y.Name {
+ return false
+ }
+ if x.Type != y.Type {
+ return false
+ }
+ if x.Collation != y.Collation {
+ return false
+ }
+ if x.Comment != y.Comment {
+ return false
+ }
+ return true
+}
+
func (x *EventMetadata) Equal(y *EventMetadata) bool {
if x == y {
return true
diff --git a/backend/generated-go/v1/database_service.pb.go b/backend/generated-go/v1/database_service.pb.go
index e7369c27b6..d98ef4d38e 100644
--- a/backend/generated-go/v1/database_service.pb.go
+++ b/backend/generated-go/v1/database_service.pb.go
@@ -252,7 +252,7 @@ func (x TablePartitionMetadata_Type) Number() protoreflect.EnumNumber {
// Deprecated: Use TablePartitionMetadata_Type.Descriptor instead.
func (TablePartitionMetadata_Type) EnumDescriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{27, 0}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{29, 0}
}
type ColumnMetadata_IdentityGeneration int32
@@ -301,7 +301,7 @@ func (x ColumnMetadata_IdentityGeneration) Number() protoreflect.EnumNumber {
// Deprecated: Use ColumnMetadata_IdentityGeneration.Descriptor instead.
func (ColumnMetadata_IdentityGeneration) EnumDescriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{28, 0}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{30, 0}
}
type GenerationMetadata_Type int32
@@ -350,7 +350,7 @@ func (x GenerationMetadata_Type) Number() protoreflect.EnumNumber {
// Deprecated: Use GenerationMetadata_Type.Descriptor instead.
func (GenerationMetadata_Type) EnumDescriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{29, 0}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{31, 0}
}
type TaskMetadata_State int32
@@ -399,7 +399,7 @@ func (x TaskMetadata_State) Number() protoreflect.EnumNumber {
// Deprecated: Use TaskMetadata_State.Descriptor instead.
func (TaskMetadata_State) EnumDescriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{37, 0}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{39, 0}
}
type StreamMetadata_Type int32
@@ -445,7 +445,7 @@ func (x StreamMetadata_Type) Number() protoreflect.EnumNumber {
// Deprecated: Use StreamMetadata_Type.Descriptor instead.
func (StreamMetadata_Type) EnumDescriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{38, 0}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{40, 0}
}
type StreamMetadata_Mode int32
@@ -497,7 +497,7 @@ func (x StreamMetadata_Mode) Number() protoreflect.EnumNumber {
// Deprecated: Use StreamMetadata_Mode.Descriptor instead.
func (StreamMetadata_Mode) EnumDescriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{38, 1}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{40, 1}
}
type Changelog_Status int32
@@ -549,7 +549,7 @@ func (x Changelog_Status) Number() protoreflect.EnumNumber {
// Deprecated: Use Changelog_Status.Descriptor instead.
func (Changelog_Status) EnumDescriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{54, 0}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{56, 0}
}
type GetSchemaStringRequest_ObjectType int32
@@ -616,7 +616,7 @@ func (x GetSchemaStringRequest_ObjectType) Number() protoreflect.EnumNumber {
// Deprecated: Use GetSchemaStringRequest_ObjectType.Descriptor instead.
func (GetSchemaStringRequest_ObjectType) EnumDescriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{55, 0}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{57, 0}
}
type GetDatabaseRequest struct {
@@ -1915,9 +1915,13 @@ type SchemaMetadata struct {
// Whether to skip this schema during schema dump operations.
SkipDump bool `protobuf:"varint,15,opt,name=skip_dump,json=skipDump,proto3" json:"skip_dump,omitempty"`
// The comment is the comment of a schema.
- Comment string `protobuf:"bytes,16,opt,name=comment,proto3" json:"comment,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
+ Comment string `protobuf:"bytes,16,opt,name=comment,proto3" json:"comment,omitempty"`
+ // The composite_types is the list of user-defined composite types in a
+ // schema (PostgreSQL family, CREATE TYPE ... AS). Excludes table/view row
+ // types and derived types.
+ CompositeTypes []*CompositeTypeMetadata `protobuf:"bytes,17,rep,name=composite_types,json=compositeTypes,proto3" json:"composite_types,omitempty"`
+ unknownFields protoimpl.UnknownFields
+ sizeCache protoimpl.SizeCache
}
func (x *SchemaMetadata) Reset() {
@@ -2062,6 +2066,13 @@ func (x *SchemaMetadata) GetComment() string {
return ""
}
+func (x *SchemaMetadata) GetCompositeTypes() []*CompositeTypeMetadata {
+ if x != nil {
+ return x.CompositeTypes
+ }
+ return nil
+}
+
type EnumTypeMetadata struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The name of a type.
@@ -2134,6 +2145,143 @@ func (x *EnumTypeMetadata) GetSkipDump() bool {
return false
}
+type CompositeTypeMetadata struct {
+ state protoimpl.MessageState `protogen:"open.v1"`
+ // The name of the composite type.
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ // The ordered attributes of the composite type.
+ Attributes []*CompositeTypeAttribute `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty"`
+ // The comment describing the composite type.
+ Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"`
+ unknownFields protoimpl.UnknownFields
+ sizeCache protoimpl.SizeCache
+}
+
+func (x *CompositeTypeMetadata) Reset() {
+ *x = CompositeTypeMetadata{}
+ mi := &file_v1_database_service_proto_msgTypes[21]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+}
+
+func (x *CompositeTypeMetadata) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CompositeTypeMetadata) ProtoMessage() {}
+
+func (x *CompositeTypeMetadata) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_database_service_proto_msgTypes[21]
+ if x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use CompositeTypeMetadata.ProtoReflect.Descriptor instead.
+func (*CompositeTypeMetadata) Descriptor() ([]byte, []int) {
+ return file_v1_database_service_proto_rawDescGZIP(), []int{21}
+}
+
+func (x *CompositeTypeMetadata) GetName() string {
+ if x != nil {
+ return x.Name
+ }
+ return ""
+}
+
+func (x *CompositeTypeMetadata) GetAttributes() []*CompositeTypeAttribute {
+ if x != nil {
+ return x.Attributes
+ }
+ return nil
+}
+
+func (x *CompositeTypeMetadata) GetComment() string {
+ if x != nil {
+ return x.Comment
+ }
+ return ""
+}
+
+type CompositeTypeAttribute struct {
+ state protoimpl.MessageState `protogen:"open.v1"`
+ // The name of the attribute.
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ // The attribute type. User-defined types are always schema-qualified.
+ Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
+ // The non-default collation of the attribute as an emit-ready SQL
+ // identifier reference (quoted as needed, schema-qualified when outside
+ // pg_catalog), empty otherwise. e.g. `"C"` or `locale.en_us`.
+ Collation string `protobuf:"bytes,3,opt,name=collation,proto3" json:"collation,omitempty"`
+ // The comment describing the attribute.
+ Comment string `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty"`
+ unknownFields protoimpl.UnknownFields
+ sizeCache protoimpl.SizeCache
+}
+
+func (x *CompositeTypeAttribute) Reset() {
+ *x = CompositeTypeAttribute{}
+ mi := &file_v1_database_service_proto_msgTypes[22]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+}
+
+func (x *CompositeTypeAttribute) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CompositeTypeAttribute) ProtoMessage() {}
+
+func (x *CompositeTypeAttribute) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_database_service_proto_msgTypes[22]
+ if x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use CompositeTypeAttribute.ProtoReflect.Descriptor instead.
+func (*CompositeTypeAttribute) Descriptor() ([]byte, []int) {
+ return file_v1_database_service_proto_rawDescGZIP(), []int{22}
+}
+
+func (x *CompositeTypeAttribute) GetName() string {
+ if x != nil {
+ return x.Name
+ }
+ return ""
+}
+
+func (x *CompositeTypeAttribute) GetType() string {
+ if x != nil {
+ return x.Type
+ }
+ return ""
+}
+
+func (x *CompositeTypeAttribute) GetCollation() string {
+ if x != nil {
+ return x.Collation
+ }
+ return ""
+}
+
+func (x *CompositeTypeAttribute) GetComment() string {
+ if x != nil {
+ return x.Comment
+ }
+ return ""
+}
+
type EventMetadata struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The name of the event.
@@ -2156,7 +2304,7 @@ type EventMetadata struct {
func (x *EventMetadata) Reset() {
*x = EventMetadata{}
- mi := &file_v1_database_service_proto_msgTypes[21]
+ mi := &file_v1_database_service_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2168,7 +2316,7 @@ func (x *EventMetadata) String() string {
func (*EventMetadata) ProtoMessage() {}
func (x *EventMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[21]
+ mi := &file_v1_database_service_proto_msgTypes[23]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2181,7 +2329,7 @@ func (x *EventMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use EventMetadata.ProtoReflect.Descriptor instead.
func (*EventMetadata) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{21}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{23}
}
func (x *EventMetadata) GetName() string {
@@ -2267,7 +2415,7 @@ type SequenceMetadata struct {
func (x *SequenceMetadata) Reset() {
*x = SequenceMetadata{}
- mi := &file_v1_database_service_proto_msgTypes[22]
+ mi := &file_v1_database_service_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2279,7 +2427,7 @@ func (x *SequenceMetadata) String() string {
func (*SequenceMetadata) ProtoMessage() {}
func (x *SequenceMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[22]
+ mi := &file_v1_database_service_proto_msgTypes[24]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2292,7 +2440,7 @@ func (x *SequenceMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use SequenceMetadata.ProtoReflect.Descriptor instead.
func (*SequenceMetadata) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{22}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{24}
}
func (x *SequenceMetadata) GetName() string {
@@ -2413,7 +2561,7 @@ type TriggerMetadata struct {
func (x *TriggerMetadata) Reset() {
*x = TriggerMetadata{}
- mi := &file_v1_database_service_proto_msgTypes[23]
+ mi := &file_v1_database_service_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2425,7 +2573,7 @@ func (x *TriggerMetadata) String() string {
func (*TriggerMetadata) ProtoMessage() {}
func (x *TriggerMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[23]
+ mi := &file_v1_database_service_proto_msgTypes[25]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2438,7 +2586,7 @@ func (x *TriggerMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use TriggerMetadata.ProtoReflect.Descriptor instead.
func (*TriggerMetadata) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{23}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{25}
}
func (x *TriggerMetadata) GetName() string {
@@ -2520,7 +2668,7 @@ type ExternalTableMetadata struct {
func (x *ExternalTableMetadata) Reset() {
*x = ExternalTableMetadata{}
- mi := &file_v1_database_service_proto_msgTypes[24]
+ mi := &file_v1_database_service_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2532,7 +2680,7 @@ func (x *ExternalTableMetadata) String() string {
func (*ExternalTableMetadata) ProtoMessage() {}
func (x *ExternalTableMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[24]
+ mi := &file_v1_database_service_proto_msgTypes[26]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2545,7 +2693,7 @@ func (x *ExternalTableMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use ExternalTableMetadata.ProtoReflect.Descriptor instead.
func (*ExternalTableMetadata) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{24}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{26}
}
func (x *ExternalTableMetadata) GetName() string {
@@ -2629,7 +2777,7 @@ type TableMetadata struct {
func (x *TableMetadata) Reset() {
*x = TableMetadata{}
- mi := &file_v1_database_service_proto_msgTypes[25]
+ mi := &file_v1_database_service_proto_msgTypes[27]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2641,7 +2789,7 @@ func (x *TableMetadata) String() string {
func (*TableMetadata) ProtoMessage() {}
func (x *TableMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[25]
+ mi := &file_v1_database_service_proto_msgTypes[27]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2654,7 +2802,7 @@ func (x *TableMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use TableMetadata.ProtoReflect.Descriptor instead.
func (*TableMetadata) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{25}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{27}
}
func (x *TableMetadata) GetName() string {
@@ -2817,7 +2965,7 @@ type CheckConstraintMetadata struct {
func (x *CheckConstraintMetadata) Reset() {
*x = CheckConstraintMetadata{}
- mi := &file_v1_database_service_proto_msgTypes[26]
+ mi := &file_v1_database_service_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2829,7 +2977,7 @@ func (x *CheckConstraintMetadata) String() string {
func (*CheckConstraintMetadata) ProtoMessage() {}
func (x *CheckConstraintMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[26]
+ mi := &file_v1_database_service_proto_msgTypes[28]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2842,7 +2990,7 @@ func (x *CheckConstraintMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use CheckConstraintMetadata.ProtoReflect.Descriptor instead.
func (*CheckConstraintMetadata) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{26}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{28}
}
func (x *CheckConstraintMetadata) GetName() string {
@@ -2902,7 +3050,7 @@ type TablePartitionMetadata struct {
func (x *TablePartitionMetadata) Reset() {
*x = TablePartitionMetadata{}
- mi := &file_v1_database_service_proto_msgTypes[27]
+ mi := &file_v1_database_service_proto_msgTypes[29]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2914,7 +3062,7 @@ func (x *TablePartitionMetadata) String() string {
func (*TablePartitionMetadata) ProtoMessage() {}
func (x *TablePartitionMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[27]
+ mi := &file_v1_database_service_proto_msgTypes[29]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2927,7 +3075,7 @@ func (x *TablePartitionMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use TablePartitionMetadata.ProtoReflect.Descriptor instead.
func (*TablePartitionMetadata) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{27}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{29}
}
func (x *TablePartitionMetadata) GetName() string {
@@ -3059,7 +3207,7 @@ type ColumnMetadata struct {
func (x *ColumnMetadata) Reset() {
*x = ColumnMetadata{}
- mi := &file_v1_database_service_proto_msgTypes[28]
+ mi := &file_v1_database_service_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3071,7 +3219,7 @@ func (x *ColumnMetadata) String() string {
func (*ColumnMetadata) ProtoMessage() {}
func (x *ColumnMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[28]
+ mi := &file_v1_database_service_proto_msgTypes[30]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3084,7 +3232,7 @@ func (x *ColumnMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use ColumnMetadata.ProtoReflect.Descriptor instead.
func (*ColumnMetadata) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{28}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{30}
}
func (x *ColumnMetadata) GetName() string {
@@ -3230,7 +3378,7 @@ type GenerationMetadata struct {
func (x *GenerationMetadata) Reset() {
*x = GenerationMetadata{}
- mi := &file_v1_database_service_proto_msgTypes[29]
+ mi := &file_v1_database_service_proto_msgTypes[31]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3242,7 +3390,7 @@ func (x *GenerationMetadata) String() string {
func (*GenerationMetadata) ProtoMessage() {}
func (x *GenerationMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[29]
+ mi := &file_v1_database_service_proto_msgTypes[31]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3255,7 +3403,7 @@ func (x *GenerationMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use GenerationMetadata.ProtoReflect.Descriptor instead.
func (*GenerationMetadata) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{29}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{31}
}
func (x *GenerationMetadata) GetType() GenerationMetadata_Type {
@@ -3294,7 +3442,7 @@ type ViewMetadata struct {
func (x *ViewMetadata) Reset() {
*x = ViewMetadata{}
- mi := &file_v1_database_service_proto_msgTypes[30]
+ mi := &file_v1_database_service_proto_msgTypes[32]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3306,7 +3454,7 @@ func (x *ViewMetadata) String() string {
func (*ViewMetadata) ProtoMessage() {}
func (x *ViewMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[30]
+ mi := &file_v1_database_service_proto_msgTypes[32]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3319,7 +3467,7 @@ func (x *ViewMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use ViewMetadata.ProtoReflect.Descriptor instead.
func (*ViewMetadata) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{30}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{32}
}
func (x *ViewMetadata) GetName() string {
@@ -3386,7 +3534,7 @@ type DependencyColumn struct {
func (x *DependencyColumn) Reset() {
*x = DependencyColumn{}
- mi := &file_v1_database_service_proto_msgTypes[31]
+ mi := &file_v1_database_service_proto_msgTypes[33]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3398,7 +3546,7 @@ func (x *DependencyColumn) String() string {
func (*DependencyColumn) ProtoMessage() {}
func (x *DependencyColumn) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[31]
+ mi := &file_v1_database_service_proto_msgTypes[33]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3411,7 +3559,7 @@ func (x *DependencyColumn) ProtoReflect() protoreflect.Message {
// Deprecated: Use DependencyColumn.ProtoReflect.Descriptor instead.
func (*DependencyColumn) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{31}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{33}
}
func (x *DependencyColumn) GetSchema() string {
@@ -3458,7 +3606,7 @@ type MaterializedViewMetadata struct {
func (x *MaterializedViewMetadata) Reset() {
*x = MaterializedViewMetadata{}
- mi := &file_v1_database_service_proto_msgTypes[32]
+ mi := &file_v1_database_service_proto_msgTypes[34]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3470,7 +3618,7 @@ func (x *MaterializedViewMetadata) String() string {
func (*MaterializedViewMetadata) ProtoMessage() {}
func (x *MaterializedViewMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[32]
+ mi := &file_v1_database_service_proto_msgTypes[34]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3483,7 +3631,7 @@ func (x *MaterializedViewMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use MaterializedViewMetadata.ProtoReflect.Descriptor instead.
func (*MaterializedViewMetadata) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{32}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{34}
}
func (x *MaterializedViewMetadata) GetName() string {
@@ -3547,7 +3695,7 @@ type DependencyTable struct {
func (x *DependencyTable) Reset() {
*x = DependencyTable{}
- mi := &file_v1_database_service_proto_msgTypes[33]
+ mi := &file_v1_database_service_proto_msgTypes[35]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3559,7 +3707,7 @@ func (x *DependencyTable) String() string {
func (*DependencyTable) ProtoMessage() {}
func (x *DependencyTable) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[33]
+ mi := &file_v1_database_service_proto_msgTypes[35]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3572,7 +3720,7 @@ func (x *DependencyTable) ProtoReflect() protoreflect.Message {
// Deprecated: Use DependencyTable.ProtoReflect.Descriptor instead.
func (*DependencyTable) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{33}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{35}
}
func (x *DependencyTable) GetSchema() string {
@@ -3615,7 +3763,7 @@ type FunctionMetadata struct {
func (x *FunctionMetadata) Reset() {
*x = FunctionMetadata{}
- mi := &file_v1_database_service_proto_msgTypes[34]
+ mi := &file_v1_database_service_proto_msgTypes[36]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3627,7 +3775,7 @@ func (x *FunctionMetadata) String() string {
func (*FunctionMetadata) ProtoMessage() {}
func (x *FunctionMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[34]
+ mi := &file_v1_database_service_proto_msgTypes[36]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3640,7 +3788,7 @@ func (x *FunctionMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use FunctionMetadata.ProtoReflect.Descriptor instead.
func (*FunctionMetadata) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{34}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{36}
}
func (x *FunctionMetadata) GetName() string {
@@ -3737,7 +3885,7 @@ type ProcedureMetadata struct {
func (x *ProcedureMetadata) Reset() {
*x = ProcedureMetadata{}
- mi := &file_v1_database_service_proto_msgTypes[35]
+ mi := &file_v1_database_service_proto_msgTypes[37]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3749,7 +3897,7 @@ func (x *ProcedureMetadata) String() string {
func (*ProcedureMetadata) ProtoMessage() {}
func (x *ProcedureMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[35]
+ mi := &file_v1_database_service_proto_msgTypes[37]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3762,7 +3910,7 @@ func (x *ProcedureMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use ProcedureMetadata.ProtoReflect.Descriptor instead.
func (*ProcedureMetadata) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{35}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{37}
}
func (x *ProcedureMetadata) GetName() string {
@@ -3841,7 +3989,7 @@ type PackageMetadata struct {
func (x *PackageMetadata) Reset() {
*x = PackageMetadata{}
- mi := &file_v1_database_service_proto_msgTypes[36]
+ mi := &file_v1_database_service_proto_msgTypes[38]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3853,7 +4001,7 @@ func (x *PackageMetadata) String() string {
func (*PackageMetadata) ProtoMessage() {}
func (x *PackageMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[36]
+ mi := &file_v1_database_service_proto_msgTypes[38]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3866,7 +4014,7 @@ func (x *PackageMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use PackageMetadata.ProtoReflect.Descriptor instead.
func (*PackageMetadata) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{36}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{38}
}
func (x *PackageMetadata) GetName() string {
@@ -3912,7 +4060,7 @@ type TaskMetadata struct {
func (x *TaskMetadata) Reset() {
*x = TaskMetadata{}
- mi := &file_v1_database_service_proto_msgTypes[37]
+ mi := &file_v1_database_service_proto_msgTypes[39]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3924,7 +4072,7 @@ func (x *TaskMetadata) String() string {
func (*TaskMetadata) ProtoMessage() {}
func (x *TaskMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[37]
+ mi := &file_v1_database_service_proto_msgTypes[39]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3937,7 +4085,7 @@ func (x *TaskMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use TaskMetadata.ProtoReflect.Descriptor instead.
func (*TaskMetadata) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{37}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{39}
}
func (x *TaskMetadata) GetName() string {
@@ -4034,7 +4182,7 @@ type StreamMetadata struct {
func (x *StreamMetadata) Reset() {
*x = StreamMetadata{}
- mi := &file_v1_database_service_proto_msgTypes[38]
+ mi := &file_v1_database_service_proto_msgTypes[40]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4046,7 +4194,7 @@ func (x *StreamMetadata) String() string {
func (*StreamMetadata) ProtoMessage() {}
func (x *StreamMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[38]
+ mi := &file_v1_database_service_proto_msgTypes[40]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4059,7 +4207,7 @@ func (x *StreamMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use StreamMetadata.ProtoReflect.Descriptor instead.
func (*StreamMetadata) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{38}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{40}
}
func (x *StreamMetadata) GetName() string {
@@ -4135,7 +4283,7 @@ type SpatialIndexConfig struct {
func (x *SpatialIndexConfig) Reset() {
*x = SpatialIndexConfig{}
- mi := &file_v1_database_service_proto_msgTypes[39]
+ mi := &file_v1_database_service_proto_msgTypes[41]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4147,7 +4295,7 @@ func (x *SpatialIndexConfig) String() string {
func (*SpatialIndexConfig) ProtoMessage() {}
func (x *SpatialIndexConfig) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[39]
+ mi := &file_v1_database_service_proto_msgTypes[41]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4160,7 +4308,7 @@ func (x *SpatialIndexConfig) ProtoReflect() protoreflect.Message {
// Deprecated: Use SpatialIndexConfig.ProtoReflect.Descriptor instead.
func (*SpatialIndexConfig) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{39}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{41}
}
func (x *SpatialIndexConfig) GetMethod() string {
@@ -4208,7 +4356,7 @@ type TessellationConfig struct {
func (x *TessellationConfig) Reset() {
*x = TessellationConfig{}
- mi := &file_v1_database_service_proto_msgTypes[40]
+ mi := &file_v1_database_service_proto_msgTypes[42]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4220,7 +4368,7 @@ func (x *TessellationConfig) String() string {
func (*TessellationConfig) ProtoMessage() {}
func (x *TessellationConfig) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[40]
+ mi := &file_v1_database_service_proto_msgTypes[42]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4233,7 +4381,7 @@ func (x *TessellationConfig) ProtoReflect() protoreflect.Message {
// Deprecated: Use TessellationConfig.ProtoReflect.Descriptor instead.
func (*TessellationConfig) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{40}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{42}
}
func (x *TessellationConfig) GetScheme() string {
@@ -4277,7 +4425,7 @@ type GridLevel struct {
func (x *GridLevel) Reset() {
*x = GridLevel{}
- mi := &file_v1_database_service_proto_msgTypes[41]
+ mi := &file_v1_database_service_proto_msgTypes[43]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4289,7 +4437,7 @@ func (x *GridLevel) String() string {
func (*GridLevel) ProtoMessage() {}
func (x *GridLevel) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[41]
+ mi := &file_v1_database_service_proto_msgTypes[43]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4302,7 +4450,7 @@ func (x *GridLevel) ProtoReflect() protoreflect.Message {
// Deprecated: Use GridLevel.ProtoReflect.Descriptor instead.
func (*GridLevel) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{41}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{43}
}
func (x *GridLevel) GetLevel() int32 {
@@ -4336,7 +4484,7 @@ type BoundingBox struct {
func (x *BoundingBox) Reset() {
*x = BoundingBox{}
- mi := &file_v1_database_service_proto_msgTypes[42]
+ mi := &file_v1_database_service_proto_msgTypes[44]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4348,7 +4496,7 @@ func (x *BoundingBox) String() string {
func (*BoundingBox) ProtoMessage() {}
func (x *BoundingBox) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[42]
+ mi := &file_v1_database_service_proto_msgTypes[44]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4361,7 +4509,7 @@ func (x *BoundingBox) ProtoReflect() protoreflect.Message {
// Deprecated: Use BoundingBox.ProtoReflect.Descriptor instead.
func (*BoundingBox) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{42}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{44}
}
func (x *BoundingBox) GetXmin() float64 {
@@ -4419,7 +4567,7 @@ type StorageConfig struct {
func (x *StorageConfig) Reset() {
*x = StorageConfig{}
- mi := &file_v1_database_service_proto_msgTypes[43]
+ mi := &file_v1_database_service_proto_msgTypes[45]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4431,7 +4579,7 @@ func (x *StorageConfig) String() string {
func (*StorageConfig) ProtoMessage() {}
func (x *StorageConfig) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[43]
+ mi := &file_v1_database_service_proto_msgTypes[45]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4444,7 +4592,7 @@ func (x *StorageConfig) ProtoReflect() protoreflect.Message {
// Deprecated: Use StorageConfig.ProtoReflect.Descriptor instead.
func (*StorageConfig) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{43}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{45}
}
func (x *StorageConfig) GetFillfactor() int32 {
@@ -4562,7 +4710,7 @@ type DimensionalConfig struct {
func (x *DimensionalConfig) Reset() {
*x = DimensionalConfig{}
- mi := &file_v1_database_service_proto_msgTypes[44]
+ mi := &file_v1_database_service_proto_msgTypes[46]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4574,7 +4722,7 @@ func (x *DimensionalConfig) String() string {
func (*DimensionalConfig) ProtoMessage() {}
func (x *DimensionalConfig) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[44]
+ mi := &file_v1_database_service_proto_msgTypes[46]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4587,7 +4735,7 @@ func (x *DimensionalConfig) ProtoReflect() protoreflect.Message {
// Deprecated: Use DimensionalConfig.ProtoReflect.Descriptor instead.
func (*DimensionalConfig) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{44}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{46}
}
func (x *DimensionalConfig) GetDimensions() int32 {
@@ -4635,7 +4783,7 @@ type DimensionConstraint struct {
func (x *DimensionConstraint) Reset() {
*x = DimensionConstraint{}
- mi := &file_v1_database_service_proto_msgTypes[45]
+ mi := &file_v1_database_service_proto_msgTypes[47]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4647,7 +4795,7 @@ func (x *DimensionConstraint) String() string {
func (*DimensionConstraint) ProtoMessage() {}
func (x *DimensionConstraint) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[45]
+ mi := &file_v1_database_service_proto_msgTypes[47]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4660,7 +4808,7 @@ func (x *DimensionConstraint) ProtoReflect() protoreflect.Message {
// Deprecated: Use DimensionConstraint.ProtoReflect.Descriptor instead.
func (*DimensionConstraint) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{45}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{47}
}
func (x *DimensionConstraint) GetDimension() string {
@@ -4738,7 +4886,7 @@ type IndexMetadata struct {
func (x *IndexMetadata) Reset() {
*x = IndexMetadata{}
- mi := &file_v1_database_service_proto_msgTypes[46]
+ mi := &file_v1_database_service_proto_msgTypes[48]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4750,7 +4898,7 @@ func (x *IndexMetadata) String() string {
func (*IndexMetadata) ProtoMessage() {}
func (x *IndexMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[46]
+ mi := &file_v1_database_service_proto_msgTypes[48]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4763,7 +4911,7 @@ func (x *IndexMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use IndexMetadata.ProtoReflect.Descriptor instead.
func (*IndexMetadata) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{46}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{48}
}
func (x *IndexMetadata) GetName() string {
@@ -4903,7 +5051,7 @@ type ExtensionMetadata struct {
func (x *ExtensionMetadata) Reset() {
*x = ExtensionMetadata{}
- mi := &file_v1_database_service_proto_msgTypes[47]
+ mi := &file_v1_database_service_proto_msgTypes[49]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4915,7 +5063,7 @@ func (x *ExtensionMetadata) String() string {
func (*ExtensionMetadata) ProtoMessage() {}
func (x *ExtensionMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[47]
+ mi := &file_v1_database_service_proto_msgTypes[49]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4928,7 +5076,7 @@ func (x *ExtensionMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use ExtensionMetadata.ProtoReflect.Descriptor instead.
func (*ExtensionMetadata) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{47}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{49}
}
func (x *ExtensionMetadata) GetName() string {
@@ -4987,7 +5135,7 @@ type ForeignKeyMetadata struct {
func (x *ForeignKeyMetadata) Reset() {
*x = ForeignKeyMetadata{}
- mi := &file_v1_database_service_proto_msgTypes[48]
+ mi := &file_v1_database_service_proto_msgTypes[50]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4999,7 +5147,7 @@ func (x *ForeignKeyMetadata) String() string {
func (*ForeignKeyMetadata) ProtoMessage() {}
func (x *ForeignKeyMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[48]
+ mi := &file_v1_database_service_proto_msgTypes[50]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5012,7 +5160,7 @@ func (x *ForeignKeyMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use ForeignKeyMetadata.ProtoReflect.Descriptor instead.
func (*ForeignKeyMetadata) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{48}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{50}
}
func (x *ForeignKeyMetadata) GetName() string {
@@ -5082,7 +5230,7 @@ type DatabaseSchema struct {
func (x *DatabaseSchema) Reset() {
*x = DatabaseSchema{}
- mi := &file_v1_database_service_proto_msgTypes[49]
+ mi := &file_v1_database_service_proto_msgTypes[51]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5094,7 +5242,7 @@ func (x *DatabaseSchema) String() string {
func (*DatabaseSchema) ProtoMessage() {}
func (x *DatabaseSchema) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[49]
+ mi := &file_v1_database_service_proto_msgTypes[51]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5107,7 +5255,7 @@ func (x *DatabaseSchema) ProtoReflect() protoreflect.Message {
// Deprecated: Use DatabaseSchema.ProtoReflect.Descriptor instead.
func (*DatabaseSchema) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{49}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{51}
}
func (x *DatabaseSchema) GetSchema() string {
@@ -5136,7 +5284,7 @@ type DatabaseSDLSchema struct {
func (x *DatabaseSDLSchema) Reset() {
*x = DatabaseSDLSchema{}
- mi := &file_v1_database_service_proto_msgTypes[50]
+ mi := &file_v1_database_service_proto_msgTypes[52]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5148,7 +5296,7 @@ func (x *DatabaseSDLSchema) String() string {
func (*DatabaseSDLSchema) ProtoMessage() {}
func (x *DatabaseSDLSchema) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[50]
+ mi := &file_v1_database_service_proto_msgTypes[52]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5161,7 +5309,7 @@ func (x *DatabaseSDLSchema) ProtoReflect() protoreflect.Message {
// Deprecated: Use DatabaseSDLSchema.ProtoReflect.Descriptor instead.
func (*DatabaseSDLSchema) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{50}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{52}
}
func (x *DatabaseSDLSchema) GetSchema() []byte {
@@ -5212,7 +5360,7 @@ type ListChangelogsRequest struct {
func (x *ListChangelogsRequest) Reset() {
*x = ListChangelogsRequest{}
- mi := &file_v1_database_service_proto_msgTypes[51]
+ mi := &file_v1_database_service_proto_msgTypes[53]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5224,7 +5372,7 @@ func (x *ListChangelogsRequest) String() string {
func (*ListChangelogsRequest) ProtoMessage() {}
func (x *ListChangelogsRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[51]
+ mi := &file_v1_database_service_proto_msgTypes[53]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5237,7 +5385,7 @@ func (x *ListChangelogsRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListChangelogsRequest.ProtoReflect.Descriptor instead.
func (*ListChangelogsRequest) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{51}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{53}
}
func (x *ListChangelogsRequest) GetParent() string {
@@ -5288,7 +5436,7 @@ type ListChangelogsResponse struct {
func (x *ListChangelogsResponse) Reset() {
*x = ListChangelogsResponse{}
- mi := &file_v1_database_service_proto_msgTypes[52]
+ mi := &file_v1_database_service_proto_msgTypes[54]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5300,7 +5448,7 @@ func (x *ListChangelogsResponse) String() string {
func (*ListChangelogsResponse) ProtoMessage() {}
func (x *ListChangelogsResponse) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[52]
+ mi := &file_v1_database_service_proto_msgTypes[54]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5313,7 +5461,7 @@ func (x *ListChangelogsResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListChangelogsResponse.ProtoReflect.Descriptor instead.
func (*ListChangelogsResponse) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{52}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{54}
}
func (x *ListChangelogsResponse) GetChangelogs() []*Changelog {
@@ -5342,7 +5490,7 @@ type GetChangelogRequest struct {
func (x *GetChangelogRequest) Reset() {
*x = GetChangelogRequest{}
- mi := &file_v1_database_service_proto_msgTypes[53]
+ mi := &file_v1_database_service_proto_msgTypes[55]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5354,7 +5502,7 @@ func (x *GetChangelogRequest) String() string {
func (*GetChangelogRequest) ProtoMessage() {}
func (x *GetChangelogRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[53]
+ mi := &file_v1_database_service_proto_msgTypes[55]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5367,7 +5515,7 @@ func (x *GetChangelogRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use GetChangelogRequest.ProtoReflect.Descriptor instead.
func (*GetChangelogRequest) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{53}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{55}
}
func (x *GetChangelogRequest) GetName() string {
@@ -5403,7 +5551,7 @@ type Changelog struct {
func (x *Changelog) Reset() {
*x = Changelog{}
- mi := &file_v1_database_service_proto_msgTypes[54]
+ mi := &file_v1_database_service_proto_msgTypes[56]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5415,7 +5563,7 @@ func (x *Changelog) String() string {
func (*Changelog) ProtoMessage() {}
func (x *Changelog) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[54]
+ mi := &file_v1_database_service_proto_msgTypes[56]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5428,7 +5576,7 @@ func (x *Changelog) ProtoReflect() protoreflect.Message {
// Deprecated: Use Changelog.ProtoReflect.Descriptor instead.
func (*Changelog) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{54}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{56}
}
func (x *Changelog) GetName() string {
@@ -5499,7 +5647,7 @@ type GetSchemaStringRequest struct {
func (x *GetSchemaStringRequest) Reset() {
*x = GetSchemaStringRequest{}
- mi := &file_v1_database_service_proto_msgTypes[55]
+ mi := &file_v1_database_service_proto_msgTypes[57]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5511,7 +5659,7 @@ func (x *GetSchemaStringRequest) String() string {
func (*GetSchemaStringRequest) ProtoMessage() {}
func (x *GetSchemaStringRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[55]
+ mi := &file_v1_database_service_proto_msgTypes[57]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5524,7 +5672,7 @@ func (x *GetSchemaStringRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use GetSchemaStringRequest.ProtoReflect.Descriptor instead.
func (*GetSchemaStringRequest) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{55}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{57}
}
func (x *GetSchemaStringRequest) GetName() string {
@@ -5571,7 +5719,7 @@ type GetSchemaStringResponse struct {
func (x *GetSchemaStringResponse) Reset() {
*x = GetSchemaStringResponse{}
- mi := &file_v1_database_service_proto_msgTypes[56]
+ mi := &file_v1_database_service_proto_msgTypes[58]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5583,7 +5731,7 @@ func (x *GetSchemaStringResponse) String() string {
func (*GetSchemaStringResponse) ProtoMessage() {}
func (x *GetSchemaStringResponse) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[56]
+ mi := &file_v1_database_service_proto_msgTypes[58]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5596,7 +5744,7 @@ func (x *GetSchemaStringResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use GetSchemaStringResponse.ProtoReflect.Descriptor instead.
func (*GetSchemaStringResponse) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{56}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{58}
}
func (x *GetSchemaStringResponse) GetSchemaString() string {
@@ -5708,7 +5856,7 @@ const file_v1_database_service_proto_rawDesc = "" +
"\x05owner\x18\x06 \x01(\tR\x05owner\x12\x1f\n" +
"\vsearch_path\x18\a \x01(\tR\n" +
"searchPath:V\xeaAS\n" +
- "\x1dbytebase.com/DatabaseMetadata\x122instances/{instance}/databases/{database}/metadata\"\xc7\x06\n" +
+ "\x1dbytebase.com/DatabaseMetadata\x122instances/{instance}/databases/{database}/metadata\"\x94\a\n" +
"\x0eSchemaMetadata\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\x122\n" +
"\x06tables\x18\x02 \x03(\v2\x1a.bytebase.v1.TableMetadataR\x06tables\x12K\n" +
@@ -5729,12 +5877,24 @@ const file_v1_database_service_proto_rawDesc = "" +
"\n" +
"enum_types\x18\x0e \x03(\v2\x1d.bytebase.v1.EnumTypeMetadataR\tenumTypes\x12\x1b\n" +
"\tskip_dump\x18\x0f \x01(\bR\bskipDump\x12\x18\n" +
- "\acomment\x18\x10 \x01(\tR\acomment\"u\n" +
+ "\acomment\x18\x10 \x01(\tR\acomment\x12K\n" +
+ "\x0fcomposite_types\x18\x11 \x03(\v2\".bytebase.v1.CompositeTypeMetadataR\x0ecompositeTypes\"u\n" +
"\x10EnumTypeMetadata\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\x12\x16\n" +
"\x06values\x18\x02 \x03(\tR\x06values\x12\x18\n" +
"\acomment\x18\x03 \x01(\tR\acomment\x12\x1b\n" +
- "\tskip_dump\x18\x04 \x01(\bR\bskipDump\"\xfa\x01\n" +
+ "\tskip_dump\x18\x04 \x01(\bR\bskipDump\"\x8a\x01\n" +
+ "\x15CompositeTypeMetadata\x12\x12\n" +
+ "\x04name\x18\x01 \x01(\tR\x04name\x12C\n" +
+ "\n" +
+ "attributes\x18\x02 \x03(\v2#.bytebase.v1.CompositeTypeAttributeR\n" +
+ "attributes\x12\x18\n" +
+ "\acomment\x18\x03 \x01(\tR\acomment\"x\n" +
+ "\x16CompositeTypeAttribute\x12\x12\n" +
+ "\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n" +
+ "\x04type\x18\x02 \x01(\tR\x04type\x12\x1c\n" +
+ "\tcollation\x18\x03 \x01(\tR\tcollation\x12\x18\n" +
+ "\acomment\x18\x04 \x01(\tR\acomment\"\xfa\x01\n" +
"\rEventMetadata\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\x12\x1e\n" +
"\n" +
@@ -6162,7 +6322,7 @@ func file_v1_database_service_proto_rawDescGZIP() []byte {
}
var file_v1_database_service_proto_enumTypes = make([]protoimpl.EnumInfo, 11)
-var file_v1_database_service_proto_msgTypes = make([]protoimpl.MessageInfo, 58)
+var file_v1_database_service_proto_msgTypes = make([]protoimpl.MessageInfo, 60)
var file_v1_database_service_proto_goTypes = []any{
(SyncStatus)(0), // 0: bytebase.v1.SyncStatus
(ChangelogView)(0), // 1: bytebase.v1.ChangelogView
@@ -6196,146 +6356,150 @@ var file_v1_database_service_proto_goTypes = []any{
(*DatabaseMetadata)(nil), // 29: bytebase.v1.DatabaseMetadata
(*SchemaMetadata)(nil), // 30: bytebase.v1.SchemaMetadata
(*EnumTypeMetadata)(nil), // 31: bytebase.v1.EnumTypeMetadata
- (*EventMetadata)(nil), // 32: bytebase.v1.EventMetadata
- (*SequenceMetadata)(nil), // 33: bytebase.v1.SequenceMetadata
- (*TriggerMetadata)(nil), // 34: bytebase.v1.TriggerMetadata
- (*ExternalTableMetadata)(nil), // 35: bytebase.v1.ExternalTableMetadata
- (*TableMetadata)(nil), // 36: bytebase.v1.TableMetadata
- (*CheckConstraintMetadata)(nil), // 37: bytebase.v1.CheckConstraintMetadata
- (*TablePartitionMetadata)(nil), // 38: bytebase.v1.TablePartitionMetadata
- (*ColumnMetadata)(nil), // 39: bytebase.v1.ColumnMetadata
- (*GenerationMetadata)(nil), // 40: bytebase.v1.GenerationMetadata
- (*ViewMetadata)(nil), // 41: bytebase.v1.ViewMetadata
- (*DependencyColumn)(nil), // 42: bytebase.v1.DependencyColumn
- (*MaterializedViewMetadata)(nil), // 43: bytebase.v1.MaterializedViewMetadata
- (*DependencyTable)(nil), // 44: bytebase.v1.DependencyTable
- (*FunctionMetadata)(nil), // 45: bytebase.v1.FunctionMetadata
- (*ProcedureMetadata)(nil), // 46: bytebase.v1.ProcedureMetadata
- (*PackageMetadata)(nil), // 47: bytebase.v1.PackageMetadata
- (*TaskMetadata)(nil), // 48: bytebase.v1.TaskMetadata
- (*StreamMetadata)(nil), // 49: bytebase.v1.StreamMetadata
- (*SpatialIndexConfig)(nil), // 50: bytebase.v1.SpatialIndexConfig
- (*TessellationConfig)(nil), // 51: bytebase.v1.TessellationConfig
- (*GridLevel)(nil), // 52: bytebase.v1.GridLevel
- (*BoundingBox)(nil), // 53: bytebase.v1.BoundingBox
- (*StorageConfig)(nil), // 54: bytebase.v1.StorageConfig
- (*DimensionalConfig)(nil), // 55: bytebase.v1.DimensionalConfig
- (*DimensionConstraint)(nil), // 56: bytebase.v1.DimensionConstraint
- (*IndexMetadata)(nil), // 57: bytebase.v1.IndexMetadata
- (*ExtensionMetadata)(nil), // 58: bytebase.v1.ExtensionMetadata
- (*ForeignKeyMetadata)(nil), // 59: bytebase.v1.ForeignKeyMetadata
- (*DatabaseSchema)(nil), // 60: bytebase.v1.DatabaseSchema
- (*DatabaseSDLSchema)(nil), // 61: bytebase.v1.DatabaseSDLSchema
- (*ListChangelogsRequest)(nil), // 62: bytebase.v1.ListChangelogsRequest
- (*ListChangelogsResponse)(nil), // 63: bytebase.v1.ListChangelogsResponse
- (*GetChangelogRequest)(nil), // 64: bytebase.v1.GetChangelogRequest
- (*Changelog)(nil), // 65: bytebase.v1.Changelog
- (*GetSchemaStringRequest)(nil), // 66: bytebase.v1.GetSchemaStringRequest
- (*GetSchemaStringResponse)(nil), // 67: bytebase.v1.GetSchemaStringResponse
- nil, // 68: bytebase.v1.Database.LabelsEntry
- (*fieldmaskpb.FieldMask)(nil), // 69: google.protobuf.FieldMask
- (State)(0), // 70: bytebase.v1.State
- (*timestamppb.Timestamp)(nil), // 71: google.protobuf.Timestamp
- (*InstanceResource)(nil), // 72: bytebase.v1.InstanceResource
+ (*CompositeTypeMetadata)(nil), // 32: bytebase.v1.CompositeTypeMetadata
+ (*CompositeTypeAttribute)(nil), // 33: bytebase.v1.CompositeTypeAttribute
+ (*EventMetadata)(nil), // 34: bytebase.v1.EventMetadata
+ (*SequenceMetadata)(nil), // 35: bytebase.v1.SequenceMetadata
+ (*TriggerMetadata)(nil), // 36: bytebase.v1.TriggerMetadata
+ (*ExternalTableMetadata)(nil), // 37: bytebase.v1.ExternalTableMetadata
+ (*TableMetadata)(nil), // 38: bytebase.v1.TableMetadata
+ (*CheckConstraintMetadata)(nil), // 39: bytebase.v1.CheckConstraintMetadata
+ (*TablePartitionMetadata)(nil), // 40: bytebase.v1.TablePartitionMetadata
+ (*ColumnMetadata)(nil), // 41: bytebase.v1.ColumnMetadata
+ (*GenerationMetadata)(nil), // 42: bytebase.v1.GenerationMetadata
+ (*ViewMetadata)(nil), // 43: bytebase.v1.ViewMetadata
+ (*DependencyColumn)(nil), // 44: bytebase.v1.DependencyColumn
+ (*MaterializedViewMetadata)(nil), // 45: bytebase.v1.MaterializedViewMetadata
+ (*DependencyTable)(nil), // 46: bytebase.v1.DependencyTable
+ (*FunctionMetadata)(nil), // 47: bytebase.v1.FunctionMetadata
+ (*ProcedureMetadata)(nil), // 48: bytebase.v1.ProcedureMetadata
+ (*PackageMetadata)(nil), // 49: bytebase.v1.PackageMetadata
+ (*TaskMetadata)(nil), // 50: bytebase.v1.TaskMetadata
+ (*StreamMetadata)(nil), // 51: bytebase.v1.StreamMetadata
+ (*SpatialIndexConfig)(nil), // 52: bytebase.v1.SpatialIndexConfig
+ (*TessellationConfig)(nil), // 53: bytebase.v1.TessellationConfig
+ (*GridLevel)(nil), // 54: bytebase.v1.GridLevel
+ (*BoundingBox)(nil), // 55: bytebase.v1.BoundingBox
+ (*StorageConfig)(nil), // 56: bytebase.v1.StorageConfig
+ (*DimensionalConfig)(nil), // 57: bytebase.v1.DimensionalConfig
+ (*DimensionConstraint)(nil), // 58: bytebase.v1.DimensionConstraint
+ (*IndexMetadata)(nil), // 59: bytebase.v1.IndexMetadata
+ (*ExtensionMetadata)(nil), // 60: bytebase.v1.ExtensionMetadata
+ (*ForeignKeyMetadata)(nil), // 61: bytebase.v1.ForeignKeyMetadata
+ (*DatabaseSchema)(nil), // 62: bytebase.v1.DatabaseSchema
+ (*DatabaseSDLSchema)(nil), // 63: bytebase.v1.DatabaseSDLSchema
+ (*ListChangelogsRequest)(nil), // 64: bytebase.v1.ListChangelogsRequest
+ (*ListChangelogsResponse)(nil), // 65: bytebase.v1.ListChangelogsResponse
+ (*GetChangelogRequest)(nil), // 66: bytebase.v1.GetChangelogRequest
+ (*Changelog)(nil), // 67: bytebase.v1.Changelog
+ (*GetSchemaStringRequest)(nil), // 68: bytebase.v1.GetSchemaStringRequest
+ (*GetSchemaStringResponse)(nil), // 69: bytebase.v1.GetSchemaStringResponse
+ nil, // 70: bytebase.v1.Database.LabelsEntry
+ (*fieldmaskpb.FieldMask)(nil), // 71: google.protobuf.FieldMask
+ (State)(0), // 72: bytebase.v1.State
+ (*timestamppb.Timestamp)(nil), // 73: google.protobuf.Timestamp
+ (*InstanceResource)(nil), // 74: bytebase.v1.InstanceResource
}
var file_v1_database_service_proto_depIdxs = []int32{
28, // 0: bytebase.v1.BatchGetDatabasesResponse.databases:type_name -> bytebase.v1.Database
28, // 1: bytebase.v1.ListDatabasesResponse.databases:type_name -> bytebase.v1.Database
28, // 2: bytebase.v1.UpdateDatabaseRequest.database:type_name -> bytebase.v1.Database
- 69, // 3: bytebase.v1.UpdateDatabaseRequest.update_mask:type_name -> google.protobuf.FieldMask
+ 71, // 3: bytebase.v1.UpdateDatabaseRequest.update_mask:type_name -> google.protobuf.FieldMask
16, // 4: bytebase.v1.BatchUpdateDatabasesRequest.requests:type_name -> bytebase.v1.UpdateDatabaseRequest
28, // 5: bytebase.v1.BatchUpdateDatabasesResponse.databases:type_name -> bytebase.v1.Database
2, // 6: bytebase.v1.GetDatabaseSDLSchemaRequest.format:type_name -> bytebase.v1.GetDatabaseSDLSchemaRequest.SDLFormat
- 70, // 7: bytebase.v1.Database.state:type_name -> bytebase.v1.State
- 71, // 8: bytebase.v1.Database.successful_sync_time:type_name -> google.protobuf.Timestamp
- 68, // 9: bytebase.v1.Database.labels:type_name -> bytebase.v1.Database.LabelsEntry
- 72, // 10: bytebase.v1.Database.instance_resource:type_name -> bytebase.v1.InstanceResource
+ 72, // 7: bytebase.v1.Database.state:type_name -> bytebase.v1.State
+ 73, // 8: bytebase.v1.Database.successful_sync_time:type_name -> google.protobuf.Timestamp
+ 70, // 9: bytebase.v1.Database.labels:type_name -> bytebase.v1.Database.LabelsEntry
+ 74, // 10: bytebase.v1.Database.instance_resource:type_name -> bytebase.v1.InstanceResource
0, // 11: bytebase.v1.Database.sync_status:type_name -> bytebase.v1.SyncStatus
30, // 12: bytebase.v1.DatabaseMetadata.schemas:type_name -> bytebase.v1.SchemaMetadata
- 58, // 13: bytebase.v1.DatabaseMetadata.extensions:type_name -> bytebase.v1.ExtensionMetadata
- 36, // 14: bytebase.v1.SchemaMetadata.tables:type_name -> bytebase.v1.TableMetadata
- 35, // 15: bytebase.v1.SchemaMetadata.external_tables:type_name -> bytebase.v1.ExternalTableMetadata
- 41, // 16: bytebase.v1.SchemaMetadata.views:type_name -> bytebase.v1.ViewMetadata
- 45, // 17: bytebase.v1.SchemaMetadata.functions:type_name -> bytebase.v1.FunctionMetadata
- 46, // 18: bytebase.v1.SchemaMetadata.procedures:type_name -> bytebase.v1.ProcedureMetadata
- 49, // 19: bytebase.v1.SchemaMetadata.streams:type_name -> bytebase.v1.StreamMetadata
- 48, // 20: bytebase.v1.SchemaMetadata.tasks:type_name -> bytebase.v1.TaskMetadata
- 43, // 21: bytebase.v1.SchemaMetadata.materialized_views:type_name -> bytebase.v1.MaterializedViewMetadata
- 47, // 22: bytebase.v1.SchemaMetadata.packages:type_name -> bytebase.v1.PackageMetadata
- 33, // 23: bytebase.v1.SchemaMetadata.sequences:type_name -> bytebase.v1.SequenceMetadata
- 32, // 24: bytebase.v1.SchemaMetadata.events:type_name -> bytebase.v1.EventMetadata
+ 60, // 13: bytebase.v1.DatabaseMetadata.extensions:type_name -> bytebase.v1.ExtensionMetadata
+ 38, // 14: bytebase.v1.SchemaMetadata.tables:type_name -> bytebase.v1.TableMetadata
+ 37, // 15: bytebase.v1.SchemaMetadata.external_tables:type_name -> bytebase.v1.ExternalTableMetadata
+ 43, // 16: bytebase.v1.SchemaMetadata.views:type_name -> bytebase.v1.ViewMetadata
+ 47, // 17: bytebase.v1.SchemaMetadata.functions:type_name -> bytebase.v1.FunctionMetadata
+ 48, // 18: bytebase.v1.SchemaMetadata.procedures:type_name -> bytebase.v1.ProcedureMetadata
+ 51, // 19: bytebase.v1.SchemaMetadata.streams:type_name -> bytebase.v1.StreamMetadata
+ 50, // 20: bytebase.v1.SchemaMetadata.tasks:type_name -> bytebase.v1.TaskMetadata
+ 45, // 21: bytebase.v1.SchemaMetadata.materialized_views:type_name -> bytebase.v1.MaterializedViewMetadata
+ 49, // 22: bytebase.v1.SchemaMetadata.packages:type_name -> bytebase.v1.PackageMetadata
+ 35, // 23: bytebase.v1.SchemaMetadata.sequences:type_name -> bytebase.v1.SequenceMetadata
+ 34, // 24: bytebase.v1.SchemaMetadata.events:type_name -> bytebase.v1.EventMetadata
31, // 25: bytebase.v1.SchemaMetadata.enum_types:type_name -> bytebase.v1.EnumTypeMetadata
- 39, // 26: bytebase.v1.ExternalTableMetadata.columns:type_name -> bytebase.v1.ColumnMetadata
- 39, // 27: bytebase.v1.TableMetadata.columns:type_name -> bytebase.v1.ColumnMetadata
- 57, // 28: bytebase.v1.TableMetadata.indexes:type_name -> bytebase.v1.IndexMetadata
- 59, // 29: bytebase.v1.TableMetadata.foreign_keys:type_name -> bytebase.v1.ForeignKeyMetadata
- 38, // 30: bytebase.v1.TableMetadata.partitions:type_name -> bytebase.v1.TablePartitionMetadata
- 37, // 31: bytebase.v1.TableMetadata.check_constraints:type_name -> bytebase.v1.CheckConstraintMetadata
- 34, // 32: bytebase.v1.TableMetadata.triggers:type_name -> bytebase.v1.TriggerMetadata
- 3, // 33: bytebase.v1.TablePartitionMetadata.type:type_name -> bytebase.v1.TablePartitionMetadata.Type
- 38, // 34: bytebase.v1.TablePartitionMetadata.subpartitions:type_name -> bytebase.v1.TablePartitionMetadata
- 57, // 35: bytebase.v1.TablePartitionMetadata.indexes:type_name -> bytebase.v1.IndexMetadata
- 37, // 36: bytebase.v1.TablePartitionMetadata.check_constraints:type_name -> bytebase.v1.CheckConstraintMetadata
- 40, // 37: bytebase.v1.ColumnMetadata.generation:type_name -> bytebase.v1.GenerationMetadata
- 4, // 38: bytebase.v1.ColumnMetadata.identity_generation:type_name -> bytebase.v1.ColumnMetadata.IdentityGeneration
- 5, // 39: bytebase.v1.GenerationMetadata.type:type_name -> bytebase.v1.GenerationMetadata.Type
- 42, // 40: bytebase.v1.ViewMetadata.dependency_columns:type_name -> bytebase.v1.DependencyColumn
- 39, // 41: bytebase.v1.ViewMetadata.columns:type_name -> bytebase.v1.ColumnMetadata
- 34, // 42: bytebase.v1.ViewMetadata.triggers:type_name -> bytebase.v1.TriggerMetadata
- 42, // 43: bytebase.v1.MaterializedViewMetadata.dependency_columns:type_name -> bytebase.v1.DependencyColumn
- 34, // 44: bytebase.v1.MaterializedViewMetadata.triggers:type_name -> bytebase.v1.TriggerMetadata
- 57, // 45: bytebase.v1.MaterializedViewMetadata.indexes:type_name -> bytebase.v1.IndexMetadata
- 44, // 46: bytebase.v1.FunctionMetadata.dependency_tables:type_name -> bytebase.v1.DependencyTable
- 6, // 47: bytebase.v1.TaskMetadata.state:type_name -> bytebase.v1.TaskMetadata.State
- 7, // 48: bytebase.v1.StreamMetadata.type:type_name -> bytebase.v1.StreamMetadata.Type
- 8, // 49: bytebase.v1.StreamMetadata.mode:type_name -> bytebase.v1.StreamMetadata.Mode
- 51, // 50: bytebase.v1.SpatialIndexConfig.tessellation:type_name -> bytebase.v1.TessellationConfig
- 54, // 51: bytebase.v1.SpatialIndexConfig.storage:type_name -> bytebase.v1.StorageConfig
- 55, // 52: bytebase.v1.SpatialIndexConfig.dimensional:type_name -> bytebase.v1.DimensionalConfig
- 52, // 53: bytebase.v1.TessellationConfig.grid_levels:type_name -> bytebase.v1.GridLevel
- 53, // 54: bytebase.v1.TessellationConfig.bounding_box:type_name -> bytebase.v1.BoundingBox
- 56, // 55: bytebase.v1.DimensionalConfig.constraints:type_name -> bytebase.v1.DimensionConstraint
- 50, // 56: bytebase.v1.IndexMetadata.spatial_config:type_name -> bytebase.v1.SpatialIndexConfig
- 1, // 57: bytebase.v1.ListChangelogsRequest.view:type_name -> bytebase.v1.ChangelogView
- 65, // 58: bytebase.v1.ListChangelogsResponse.changelogs:type_name -> bytebase.v1.Changelog
- 1, // 59: bytebase.v1.GetChangelogRequest.view:type_name -> bytebase.v1.ChangelogView
- 71, // 60: bytebase.v1.Changelog.create_time:type_name -> google.protobuf.Timestamp
- 9, // 61: bytebase.v1.Changelog.status:type_name -> bytebase.v1.Changelog.Status
- 10, // 62: bytebase.v1.GetSchemaStringRequest.type:type_name -> bytebase.v1.GetSchemaStringRequest.ObjectType
- 29, // 63: bytebase.v1.GetSchemaStringRequest.metadata:type_name -> bytebase.v1.DatabaseMetadata
- 11, // 64: bytebase.v1.DatabaseService.GetDatabase:input_type -> bytebase.v1.GetDatabaseRequest
- 12, // 65: bytebase.v1.DatabaseService.BatchGetDatabases:input_type -> bytebase.v1.BatchGetDatabasesRequest
- 14, // 66: bytebase.v1.DatabaseService.ListDatabases:input_type -> bytebase.v1.ListDatabasesRequest
- 16, // 67: bytebase.v1.DatabaseService.UpdateDatabase:input_type -> bytebase.v1.UpdateDatabaseRequest
- 17, // 68: bytebase.v1.DatabaseService.BatchUpdateDatabases:input_type -> bytebase.v1.BatchUpdateDatabasesRequest
- 21, // 69: bytebase.v1.DatabaseService.SyncDatabase:input_type -> bytebase.v1.SyncDatabaseRequest
- 19, // 70: bytebase.v1.DatabaseService.BatchSyncDatabases:input_type -> bytebase.v1.BatchSyncDatabasesRequest
- 23, // 71: bytebase.v1.DatabaseService.GetDatabaseMetadata:input_type -> bytebase.v1.GetDatabaseMetadataRequest
- 24, // 72: bytebase.v1.DatabaseService.GetDatabaseSchema:input_type -> bytebase.v1.GetDatabaseSchemaRequest
- 25, // 73: bytebase.v1.DatabaseService.GetDatabaseSDLSchema:input_type -> bytebase.v1.GetDatabaseSDLSchemaRequest
- 26, // 74: bytebase.v1.DatabaseService.DiffSchema:input_type -> bytebase.v1.DiffSchemaRequest
- 62, // 75: bytebase.v1.DatabaseService.ListChangelogs:input_type -> bytebase.v1.ListChangelogsRequest
- 64, // 76: bytebase.v1.DatabaseService.GetChangelog:input_type -> bytebase.v1.GetChangelogRequest
- 66, // 77: bytebase.v1.DatabaseService.GetSchemaString:input_type -> bytebase.v1.GetSchemaStringRequest
- 28, // 78: bytebase.v1.DatabaseService.GetDatabase:output_type -> bytebase.v1.Database
- 13, // 79: bytebase.v1.DatabaseService.BatchGetDatabases:output_type -> bytebase.v1.BatchGetDatabasesResponse
- 15, // 80: bytebase.v1.DatabaseService.ListDatabases:output_type -> bytebase.v1.ListDatabasesResponse
- 28, // 81: bytebase.v1.DatabaseService.UpdateDatabase:output_type -> bytebase.v1.Database
- 18, // 82: bytebase.v1.DatabaseService.BatchUpdateDatabases:output_type -> bytebase.v1.BatchUpdateDatabasesResponse
- 22, // 83: bytebase.v1.DatabaseService.SyncDatabase:output_type -> bytebase.v1.SyncDatabaseResponse
- 20, // 84: bytebase.v1.DatabaseService.BatchSyncDatabases:output_type -> bytebase.v1.BatchSyncDatabasesResponse
- 29, // 85: bytebase.v1.DatabaseService.GetDatabaseMetadata:output_type -> bytebase.v1.DatabaseMetadata
- 60, // 86: bytebase.v1.DatabaseService.GetDatabaseSchema:output_type -> bytebase.v1.DatabaseSchema
- 61, // 87: bytebase.v1.DatabaseService.GetDatabaseSDLSchema:output_type -> bytebase.v1.DatabaseSDLSchema
- 27, // 88: bytebase.v1.DatabaseService.DiffSchema:output_type -> bytebase.v1.DiffSchemaResponse
- 63, // 89: bytebase.v1.DatabaseService.ListChangelogs:output_type -> bytebase.v1.ListChangelogsResponse
- 65, // 90: bytebase.v1.DatabaseService.GetChangelog:output_type -> bytebase.v1.Changelog
- 67, // 91: bytebase.v1.DatabaseService.GetSchemaString:output_type -> bytebase.v1.GetSchemaStringResponse
- 78, // [78:92] is the sub-list for method output_type
- 64, // [64:78] is the sub-list for method input_type
- 64, // [64:64] is the sub-list for extension type_name
- 64, // [64:64] is the sub-list for extension extendee
- 0, // [0:64] is the sub-list for field type_name
+ 32, // 26: bytebase.v1.SchemaMetadata.composite_types:type_name -> bytebase.v1.CompositeTypeMetadata
+ 33, // 27: bytebase.v1.CompositeTypeMetadata.attributes:type_name -> bytebase.v1.CompositeTypeAttribute
+ 41, // 28: bytebase.v1.ExternalTableMetadata.columns:type_name -> bytebase.v1.ColumnMetadata
+ 41, // 29: bytebase.v1.TableMetadata.columns:type_name -> bytebase.v1.ColumnMetadata
+ 59, // 30: bytebase.v1.TableMetadata.indexes:type_name -> bytebase.v1.IndexMetadata
+ 61, // 31: bytebase.v1.TableMetadata.foreign_keys:type_name -> bytebase.v1.ForeignKeyMetadata
+ 40, // 32: bytebase.v1.TableMetadata.partitions:type_name -> bytebase.v1.TablePartitionMetadata
+ 39, // 33: bytebase.v1.TableMetadata.check_constraints:type_name -> bytebase.v1.CheckConstraintMetadata
+ 36, // 34: bytebase.v1.TableMetadata.triggers:type_name -> bytebase.v1.TriggerMetadata
+ 3, // 35: bytebase.v1.TablePartitionMetadata.type:type_name -> bytebase.v1.TablePartitionMetadata.Type
+ 40, // 36: bytebase.v1.TablePartitionMetadata.subpartitions:type_name -> bytebase.v1.TablePartitionMetadata
+ 59, // 37: bytebase.v1.TablePartitionMetadata.indexes:type_name -> bytebase.v1.IndexMetadata
+ 39, // 38: bytebase.v1.TablePartitionMetadata.check_constraints:type_name -> bytebase.v1.CheckConstraintMetadata
+ 42, // 39: bytebase.v1.ColumnMetadata.generation:type_name -> bytebase.v1.GenerationMetadata
+ 4, // 40: bytebase.v1.ColumnMetadata.identity_generation:type_name -> bytebase.v1.ColumnMetadata.IdentityGeneration
+ 5, // 41: bytebase.v1.GenerationMetadata.type:type_name -> bytebase.v1.GenerationMetadata.Type
+ 44, // 42: bytebase.v1.ViewMetadata.dependency_columns:type_name -> bytebase.v1.DependencyColumn
+ 41, // 43: bytebase.v1.ViewMetadata.columns:type_name -> bytebase.v1.ColumnMetadata
+ 36, // 44: bytebase.v1.ViewMetadata.triggers:type_name -> bytebase.v1.TriggerMetadata
+ 44, // 45: bytebase.v1.MaterializedViewMetadata.dependency_columns:type_name -> bytebase.v1.DependencyColumn
+ 36, // 46: bytebase.v1.MaterializedViewMetadata.triggers:type_name -> bytebase.v1.TriggerMetadata
+ 59, // 47: bytebase.v1.MaterializedViewMetadata.indexes:type_name -> bytebase.v1.IndexMetadata
+ 46, // 48: bytebase.v1.FunctionMetadata.dependency_tables:type_name -> bytebase.v1.DependencyTable
+ 6, // 49: bytebase.v1.TaskMetadata.state:type_name -> bytebase.v1.TaskMetadata.State
+ 7, // 50: bytebase.v1.StreamMetadata.type:type_name -> bytebase.v1.StreamMetadata.Type
+ 8, // 51: bytebase.v1.StreamMetadata.mode:type_name -> bytebase.v1.StreamMetadata.Mode
+ 53, // 52: bytebase.v1.SpatialIndexConfig.tessellation:type_name -> bytebase.v1.TessellationConfig
+ 56, // 53: bytebase.v1.SpatialIndexConfig.storage:type_name -> bytebase.v1.StorageConfig
+ 57, // 54: bytebase.v1.SpatialIndexConfig.dimensional:type_name -> bytebase.v1.DimensionalConfig
+ 54, // 55: bytebase.v1.TessellationConfig.grid_levels:type_name -> bytebase.v1.GridLevel
+ 55, // 56: bytebase.v1.TessellationConfig.bounding_box:type_name -> bytebase.v1.BoundingBox
+ 58, // 57: bytebase.v1.DimensionalConfig.constraints:type_name -> bytebase.v1.DimensionConstraint
+ 52, // 58: bytebase.v1.IndexMetadata.spatial_config:type_name -> bytebase.v1.SpatialIndexConfig
+ 1, // 59: bytebase.v1.ListChangelogsRequest.view:type_name -> bytebase.v1.ChangelogView
+ 67, // 60: bytebase.v1.ListChangelogsResponse.changelogs:type_name -> bytebase.v1.Changelog
+ 1, // 61: bytebase.v1.GetChangelogRequest.view:type_name -> bytebase.v1.ChangelogView
+ 73, // 62: bytebase.v1.Changelog.create_time:type_name -> google.protobuf.Timestamp
+ 9, // 63: bytebase.v1.Changelog.status:type_name -> bytebase.v1.Changelog.Status
+ 10, // 64: bytebase.v1.GetSchemaStringRequest.type:type_name -> bytebase.v1.GetSchemaStringRequest.ObjectType
+ 29, // 65: bytebase.v1.GetSchemaStringRequest.metadata:type_name -> bytebase.v1.DatabaseMetadata
+ 11, // 66: bytebase.v1.DatabaseService.GetDatabase:input_type -> bytebase.v1.GetDatabaseRequest
+ 12, // 67: bytebase.v1.DatabaseService.BatchGetDatabases:input_type -> bytebase.v1.BatchGetDatabasesRequest
+ 14, // 68: bytebase.v1.DatabaseService.ListDatabases:input_type -> bytebase.v1.ListDatabasesRequest
+ 16, // 69: bytebase.v1.DatabaseService.UpdateDatabase:input_type -> bytebase.v1.UpdateDatabaseRequest
+ 17, // 70: bytebase.v1.DatabaseService.BatchUpdateDatabases:input_type -> bytebase.v1.BatchUpdateDatabasesRequest
+ 21, // 71: bytebase.v1.DatabaseService.SyncDatabase:input_type -> bytebase.v1.SyncDatabaseRequest
+ 19, // 72: bytebase.v1.DatabaseService.BatchSyncDatabases:input_type -> bytebase.v1.BatchSyncDatabasesRequest
+ 23, // 73: bytebase.v1.DatabaseService.GetDatabaseMetadata:input_type -> bytebase.v1.GetDatabaseMetadataRequest
+ 24, // 74: bytebase.v1.DatabaseService.GetDatabaseSchema:input_type -> bytebase.v1.GetDatabaseSchemaRequest
+ 25, // 75: bytebase.v1.DatabaseService.GetDatabaseSDLSchema:input_type -> bytebase.v1.GetDatabaseSDLSchemaRequest
+ 26, // 76: bytebase.v1.DatabaseService.DiffSchema:input_type -> bytebase.v1.DiffSchemaRequest
+ 64, // 77: bytebase.v1.DatabaseService.ListChangelogs:input_type -> bytebase.v1.ListChangelogsRequest
+ 66, // 78: bytebase.v1.DatabaseService.GetChangelog:input_type -> bytebase.v1.GetChangelogRequest
+ 68, // 79: bytebase.v1.DatabaseService.GetSchemaString:input_type -> bytebase.v1.GetSchemaStringRequest
+ 28, // 80: bytebase.v1.DatabaseService.GetDatabase:output_type -> bytebase.v1.Database
+ 13, // 81: bytebase.v1.DatabaseService.BatchGetDatabases:output_type -> bytebase.v1.BatchGetDatabasesResponse
+ 15, // 82: bytebase.v1.DatabaseService.ListDatabases:output_type -> bytebase.v1.ListDatabasesResponse
+ 28, // 83: bytebase.v1.DatabaseService.UpdateDatabase:output_type -> bytebase.v1.Database
+ 18, // 84: bytebase.v1.DatabaseService.BatchUpdateDatabases:output_type -> bytebase.v1.BatchUpdateDatabasesResponse
+ 22, // 85: bytebase.v1.DatabaseService.SyncDatabase:output_type -> bytebase.v1.SyncDatabaseResponse
+ 20, // 86: bytebase.v1.DatabaseService.BatchSyncDatabases:output_type -> bytebase.v1.BatchSyncDatabasesResponse
+ 29, // 87: bytebase.v1.DatabaseService.GetDatabaseMetadata:output_type -> bytebase.v1.DatabaseMetadata
+ 62, // 88: bytebase.v1.DatabaseService.GetDatabaseSchema:output_type -> bytebase.v1.DatabaseSchema
+ 63, // 89: bytebase.v1.DatabaseService.GetDatabaseSDLSchema:output_type -> bytebase.v1.DatabaseSDLSchema
+ 27, // 90: bytebase.v1.DatabaseService.DiffSchema:output_type -> bytebase.v1.DiffSchemaResponse
+ 65, // 91: bytebase.v1.DatabaseService.ListChangelogs:output_type -> bytebase.v1.ListChangelogsResponse
+ 67, // 92: bytebase.v1.DatabaseService.GetChangelog:output_type -> bytebase.v1.Changelog
+ 69, // 93: bytebase.v1.DatabaseService.GetSchemaString:output_type -> bytebase.v1.GetSchemaStringResponse
+ 80, // [80:94] is the sub-list for method output_type
+ 66, // [66:80] is the sub-list for method input_type
+ 66, // [66:66] is the sub-list for extension type_name
+ 66, // [66:66] is the sub-list for extension extendee
+ 0, // [0:66] is the sub-list for field type_name
}
func init() { file_v1_database_service_proto_init() }
@@ -6351,14 +6515,14 @@ func file_v1_database_service_proto_init() {
(*DiffSchemaRequest_Changelog)(nil),
}
file_v1_database_service_proto_msgTypes[17].OneofWrappers = []any{}
- file_v1_database_service_proto_msgTypes[28].OneofWrappers = []any{}
+ file_v1_database_service_proto_msgTypes[30].OneofWrappers = []any{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_v1_database_service_proto_rawDesc), len(file_v1_database_service_proto_rawDesc)),
NumEnums: 11,
- NumMessages: 58,
+ NumMessages: 60,
NumExtensions: 0,
NumServices: 1,
},
diff --git a/backend/generated-go/v1/database_service_equal.pb.go b/backend/generated-go/v1/database_service_equal.pb.go
index 93cb083c74..02cb874aea 100644
--- a/backend/generated-go/v1/database_service_equal.pb.go
+++ b/backend/generated-go/v1/database_service_equal.pb.go
@@ -517,6 +517,14 @@ func (x *SchemaMetadata) Equal(y *SchemaMetadata) bool {
if x.Comment != y.Comment {
return false
}
+ if len(x.CompositeTypes) != len(y.CompositeTypes) {
+ return false
+ }
+ for i := 0; i < len(x.CompositeTypes); i++ {
+ if !x.CompositeTypes[i].Equal(y.CompositeTypes[i]) {
+ return false
+ }
+ }
return true
}
@@ -547,6 +555,52 @@ func (x *EnumTypeMetadata) Equal(y *EnumTypeMetadata) bool {
return true
}
+func (x *CompositeTypeMetadata) Equal(y *CompositeTypeMetadata) bool {
+ if x == y {
+ return true
+ }
+ if x == nil || y == nil {
+ return x == nil && y == nil
+ }
+ if x.Name != y.Name {
+ return false
+ }
+ if len(x.Attributes) != len(y.Attributes) {
+ return false
+ }
+ for i := 0; i < len(x.Attributes); i++ {
+ if !x.Attributes[i].Equal(y.Attributes[i]) {
+ return false
+ }
+ }
+ if x.Comment != y.Comment {
+ return false
+ }
+ return true
+}
+
+func (x *CompositeTypeAttribute) Equal(y *CompositeTypeAttribute) bool {
+ if x == y {
+ return true
+ }
+ if x == nil || y == nil {
+ return x == nil && y == nil
+ }
+ if x.Name != y.Name {
+ return false
+ }
+ if x.Type != y.Type {
+ return false
+ }
+ if x.Collation != y.Collation {
+ return false
+ }
+ if x.Comment != y.Comment {
+ return false
+ }
+ return true
+}
+
func (x *EventMetadata) Equal(y *EventMetadata) bool {
if x == y {
return true
diff --git a/backend/plugin/db/pg/sync.go b/backend/plugin/db/pg/sync.go
index 674cb9a6e0..2e1310f861 100644
--- a/backend/plugin/db/pg/sync.go
+++ b/backend/plugin/db/pg/sync.go
@@ -183,6 +183,11 @@ func (d *Driver) SyncDBSchema(ctx context.Context) (*storepb.DatabaseSchemaMetad
return nil, errors.Wrapf(err, "failed to get enum types from database %q", d.databaseName)
}
+ compositeTypes, err := getCompositeTypes(txn, extensionDepend)
+ if err != nil {
+ return nil, errors.Wrapf(err, "failed to get composite types from database %q", d.databaseName)
+ }
+
eventTriggers, err := getEventTriggers(txn, extensionDepend)
if err != nil {
return nil, errors.Wrapf(err, "failed to get event triggers from database %q", d.databaseName)
@@ -219,6 +224,7 @@ func (d *Driver) SyncDBSchema(ctx context.Context) (*storepb.DatabaseSchemaMetad
Owner: schemaOwners[i],
Comment: schemaComments[i],
EnumTypes: enumTypes[schemaName],
+ CompositeTypes: compositeTypes[schemaName],
SkipDump: skipDumps[i],
})
}
@@ -1333,6 +1339,95 @@ func getEnumTypes(txn *sql.Tx, extensionDepend map[int]bool) (map[string][]*stor
return enumTypes, nil
}
+// listCompositeTypeQuery lists standalone composite types only (relkind =
+// 'c'): table/view row types have their own relkind and are excluded.
+// Attribute types are rendered by format_type and schema-qualified when the
+// (element) type is user-defined, so stored type strings are deterministic
+// regardless of search_path. System schemas are filtered on the Go side, so
+// the query stays a pure constant.
+const listCompositeTypeQuery = `
+ SELECT
+ pt.oid,
+ pc.oid,
+ pn.nspname AS schema_name,
+ pt.typname AS type_name,
+ pg_catalog.obj_description(pt.oid) AS type_comment,
+ a.attname AS attribute_name,
+ CASE
+ WHEN en.nspname IS NOT NULL
+ AND en.nspname NOT IN ('pg_catalog', 'information_schema')
+ AND position(quote_ident(en.nspname) || '.' IN pg_catalog.format_type(a.atttypid, a.atttypmod)) <> 1
+ THEN quote_ident(en.nspname) || '.' || pg_catalog.format_type(a.atttypid, a.atttypmod)
+ ELSE pg_catalog.format_type(a.atttypid, a.atttypmod)
+ END AS attribute_type,
+ CASE
+ WHEN co.collname IS NULL THEN NULL
+ WHEN nco.nspname <> 'pg_catalog' THEN quote_ident(nco.nspname) || '.' || quote_ident(co.collname)
+ ELSE quote_ident(co.collname)
+ END AS attribute_collation,
+ pg_catalog.col_description(pc.oid, a.attnum) AS attribute_comment
+ FROM pg_type pt
+ JOIN pg_class pc ON pc.oid = pt.typrelid AND pc.relkind = 'c'
+ JOIN pg_namespace pn ON pn.oid = pt.typnamespace
+ LEFT JOIN pg_attribute a ON a.attrelid = pc.oid AND a.attnum > 0 AND NOT a.attisdropped
+ LEFT JOIN pg_type at ON at.oid = a.atttypid
+ LEFT JOIN pg_type et ON et.oid = CASE WHEN at.typlen = -1 AND at.typelem <> 0 THEN at.typelem ELSE at.oid END
+ LEFT JOIN pg_namespace en ON en.oid = et.typnamespace
+ LEFT JOIN (pg_catalog.pg_collation co JOIN pg_catalog.pg_namespace nco ON co.collnamespace = nco.oid)
+ ON a.attcollation = co.oid AND (nco.nspname <> 'pg_catalog' OR co.collname <> 'default')
+ WHERE pn.nspname NOT LIKE 'pg_temp%'
+ AND pn.nspname NOT LIKE 'pg_toast%'
+ ORDER BY pn.nspname, pt.typname, a.attnum;`
+
+func getCompositeTypes(txn *sql.Tx, extensionDepend map[int]bool) (map[string][]*storepb.CompositeTypeMetadata, error) {
+ rows, err := txn.Query(listCompositeTypeQuery)
+ if err != nil {
+ return nil, err
+ }
+ defer rows.Close()
+
+ compositeTypes := make(map[string][]*storepb.CompositeTypeMetadata)
+ var current *storepb.CompositeTypeMetadata
+ currentSchema := ""
+ for rows.Next() {
+ var typeOid, classOid int
+ var schemaName, typeName string
+ var typeComment, attributeName, attributeType, attributeCollation, attributeComment sql.NullString
+ if err := rows.Scan(&typeOid, &classOid, &schemaName, &typeName, &typeComment, &attributeName, &attributeType, &attributeCollation, &attributeComment); err != nil {
+ return nil, err
+ }
+ if pgparser.IsSystemSchema(schemaName) {
+ continue
+ }
+
+ if current == nil || currentSchema != schemaName || current.Name != typeName {
+ current = &storepb.CompositeTypeMetadata{
+ Name: typeName,
+ Comment: typeComment.String,
+ SkipDump: extensionDepend[typeOid] || extensionDepend[classOid],
+ }
+ currentSchema = schemaName
+ compositeTypes[schemaName] = append(compositeTypes[schemaName], current)
+ }
+ // A composite type can have zero live attributes (CREATE TYPE x AS (),
+ // or all attributes dropped); the LEFT JOIN yields a NULL attribute row.
+ if !attributeName.Valid {
+ continue
+ }
+ current.Attributes = append(current.Attributes, &storepb.CompositeTypeAttribute{
+ Name: attributeName.String,
+ Type: attributeType.String,
+ Collation: attributeCollation.String,
+ Comment: attributeComment.String,
+ })
+ }
+ if err := rows.Err(); err != nil {
+ return nil, err
+ }
+
+ return compositeTypes, nil
+}
+
// getSequences gets all sequences of a database.
func getSequences(txn *sql.Tx, tableOidMap map[int]*db.TableKeyWithColumns, extensionDepend map[int]bool) (map[string][]*storepb.SequenceMetadata, error) {
sequenceOwnerMap, err := getSequenceOwners(txn)
diff --git a/backend/plugin/schema/pg/composite_type_sdl_test.go b/backend/plugin/schema/pg/composite_type_sdl_test.go
new file mode 100644
index 0000000000..581ab6c720
--- /dev/null
+++ b/backend/plugin/schema/pg/composite_type_sdl_test.go
@@ -0,0 +1,214 @@
+package pg
+
+import (
+ "strings"
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+ "github.com/stretchr/testify/require"
+
+ storepb "github.com/bytebase/bytebase/backend/generated-go/store"
+ "github.com/bytebase/bytebase/backend/plugin/schema"
+)
+
+func TestGetDatabaseDefinitionSDLFormat_CompositeTypes(t *testing.T) {
+ // aa_nested sorts before its dependency zz_base alphabetically, so correct
+ // output proves dependency ordering rather than name ordering.
+ metadata := &storepb.DatabaseSchemaMetadata{
+ Schemas: []*storepb.SchemaMetadata{
+ {
+ Name: "public",
+ EnumTypes: []*storepb.EnumTypeMetadata{
+ {Name: "order_status", Values: []string{"pending", "shipped"}},
+ },
+ CompositeTypes: []*storepb.CompositeTypeMetadata{
+ {
+ Name: "aa_nested",
+ Attributes: []*storepb.CompositeTypeAttribute{
+ {Name: "home", Type: "public.zz_base"},
+ {Name: "homes", Type: "public.zz_base[]"},
+ {Name: "status", Type: "public.order_status"},
+ },
+ },
+ {
+ Name: "zz_base",
+ Comment: "base address type",
+ Attributes: []*storepb.CompositeTypeAttribute{
+ {Name: "street", Type: "text", Collation: `"C"`, Comment: "street line"},
+ {Name: "city", Type: "character varying(50)"},
+ },
+ },
+ {
+ Name: "ext_owned",
+ SkipDump: true,
+ Attributes: []*storepb.CompositeTypeAttribute{
+ {Name: "x", Type: "integer"},
+ },
+ },
+ {
+ Name: "empty_type",
+ },
+ },
+ },
+ {
+ Name: "geo",
+ CompositeTypes: []*storepb.CompositeTypeMetadata{
+ {
+ Name: "point2",
+ Attributes: []*storepb.CompositeTypeAttribute{
+ {Name: "lat", Type: "numeric(9,6)"},
+ {Name: "lng", Type: "numeric(9,6)"},
+ },
+ },
+ },
+ },
+ },
+ }
+
+ result, err := GetDatabaseDefinition(schema.GetDefinitionContext{SDLFormat: true}, metadata)
+ require.NoError(t, err)
+
+ assert.Contains(t, result, `CREATE TYPE "public"."zz_base" AS (`)
+ assert.Contains(t, result, `"street" text COLLATE "C"`)
+ assert.Contains(t, result, `"city" character varying(50)`)
+ assert.Contains(t, result, `CREATE TYPE "public"."aa_nested" AS (`)
+ assert.Contains(t, result, `"home" public.zz_base`)
+ assert.Contains(t, result, `"homes" public.zz_base[]`)
+ assert.Contains(t, result, `CREATE TYPE "geo"."point2" AS (`)
+ assert.Contains(t, result, `CREATE TYPE "public"."empty_type" AS (`)
+ assert.Contains(t, result, `COMMENT ON TYPE "public"."zz_base" IS 'base address type';`)
+ assert.Contains(t, result, `COMMENT ON COLUMN "public"."zz_base"."street" IS 'street line';`)
+ assert.NotContains(t, result, "ext_owned", "skip_dump composite types must not be emitted")
+
+ // Dependency order: zz_base must be created before aa_nested.
+ baseIdx := strings.Index(result, `CREATE TYPE "public"."zz_base"`)
+ nestedIdx := strings.Index(result, `CREATE TYPE "public"."aa_nested"`)
+ require.GreaterOrEqual(t, baseIdx, 0)
+ require.GreaterOrEqual(t, nestedIdx, 0)
+ assert.Less(t, baseIdx, nestedIdx, "referenced composite must be emitted before its dependent")
+
+ // Enums come before composites.
+ enumIdx := strings.Index(result, `CREATE TYPE "public"."order_status"`)
+ require.GreaterOrEqual(t, enumIdx, 0)
+ assert.Less(t, enumIdx, baseIdx, "enums must be emitted before composite types")
+
+ // The generated SDL must be loadable by the SDL migration engine.
+ _, err = schema.DiffSDLMigration(storepb.Engine_POSTGRES, "", result, "")
+ require.NoError(t, err, "generated SDL should load: %s", result)
+}
+
+func TestGetMultiFileDatabaseDefinition_CompositeTypes(t *testing.T) {
+ metadata := &storepb.DatabaseSchemaMetadata{
+ Schemas: []*storepb.SchemaMetadata{
+ {
+ Name: "public",
+ EnumTypes: []*storepb.EnumTypeMetadata{
+ {Name: "mood", Values: []string{"happy", "sad"}},
+ },
+ CompositeTypes: []*storepb.CompositeTypeMetadata{
+ {
+ Name: "wrapper",
+ Attributes: []*storepb.CompositeTypeAttribute{
+ {Name: "b", Type: "public.base"},
+ },
+ },
+ {
+ Name: "base",
+ Attributes: []*storepb.CompositeTypeAttribute{
+ {Name: "x", Type: "integer"},
+ },
+ Comment: "base type",
+ },
+ },
+ },
+ },
+ }
+
+ result, err := GetMultiFileDatabaseDefinition(schema.GetDefinitionContext{SDLFormat: true}, metadata)
+ require.NoError(t, err)
+
+ var typesFile string
+ var combined strings.Builder
+ for _, file := range result.Files {
+ if file.Name == "schemas/public/types.sql" {
+ typesFile = file.Content
+ }
+ combined.WriteString(file.Content)
+ combined.WriteString("\n")
+ }
+ require.NotEmpty(t, typesFile, "types.sql should exist")
+
+ assert.Contains(t, typesFile, `CREATE TYPE "public"."mood" AS ENUM (`)
+ assert.Contains(t, typesFile, `CREATE TYPE "public"."base" AS (`)
+ assert.Contains(t, typesFile, `CREATE TYPE "public"."wrapper" AS (`)
+ assert.Contains(t, typesFile, `COMMENT ON TYPE "public"."base" IS 'base type';`)
+ assert.Less(t,
+ strings.Index(typesFile, `CREATE TYPE "public"."base" AS (`),
+ strings.Index(typesFile, `CREATE TYPE "public"."wrapper" AS (`),
+ "referenced composite must be emitted before its dependent")
+
+ _, err = schema.DiffSDLMigration(storepb.Engine_POSTGRES, "", combined.String(), "")
+ require.NoError(t, err, "combined multi-file SDL should load")
+}
+
+func TestParseQualifiedTypeIdent(t *testing.T) {
+ testCases := []struct {
+ input string
+ schema string
+ name string
+ ok bool
+ }{
+ {"integer", "", "", false},
+ {"character varying(50)", "", "", false},
+ {"numeric(9,6)", "", "", false},
+ {"text[]", "", "", false},
+ {"timestamp(6) with time zone", "", "", false},
+ {"public.addr", "public", "addr", true},
+ {"public.addr[]", "public", "addr", true},
+ {"public.addr(5)", "public", "addr", true},
+ {`"My Schema"."Weird Type"`, "My Schema", "Weird Type", true},
+ {`"has""quote".t`, `has"quote`, "t", true},
+ {`other.geo`, "other", "geo", true},
+ }
+ for _, tc := range testCases {
+ schemaName, typeName, ok := parseQualifiedTypeIdent(tc.input)
+ assert.Equal(t, tc.ok, ok, "input %q", tc.input)
+ assert.Equal(t, tc.schema, schemaName, "input %q", tc.input)
+ assert.Equal(t, tc.name, typeName, "input %q", tc.input)
+ }
+}
+
+func TestSortCompositeTypesTopologically(t *testing.T) {
+ // Chain across schemas: public.a3 -> other.b2 -> public.c1, with names
+ // chosen so alphabetical order is the reverse of dependency order.
+ c1 := &storepb.CompositeTypeMetadata{
+ Name: "c1",
+ Attributes: []*storepb.CompositeTypeAttribute{{Name: "x", Type: "integer"}},
+ }
+ b2 := &storepb.CompositeTypeMetadata{
+ Name: "b2",
+ Attributes: []*storepb.CompositeTypeAttribute{{Name: "c", Type: "public.c1"}},
+ }
+ a3 := &storepb.CompositeTypeMetadata{
+ Name: "a3",
+ Attributes: []*storepb.CompositeTypeAttribute{{Name: "b", Type: "other.b2[]"}},
+ }
+ ordered := sortCompositeTypesTopologically([]qualifiedCompositeType{
+ {Schema: "public", Composite: a3},
+ {Schema: "other", Composite: b2},
+ {Schema: "public", Composite: c1},
+ })
+ require.Len(t, ordered, 3)
+ assert.Equal(t, "c1", ordered[0].Composite.Name)
+ assert.Equal(t, "b2", ordered[1].Composite.Name)
+ assert.Equal(t, "a3", ordered[2].Composite.Name)
+
+ // Independent types come out in deterministic (schema, name) order.
+ ordered = sortCompositeTypesTopologically([]qualifiedCompositeType{
+ {Schema: "public", Composite: &storepb.CompositeTypeMetadata{Name: "zz"}},
+ {Schema: "public", Composite: &storepb.CompositeTypeMetadata{Name: "aa"}},
+ })
+ require.Len(t, ordered, 2)
+ assert.Equal(t, "aa", ordered[0].Composite.Name)
+ assert.Equal(t, "zz", ordered[1].Composite.Name)
+}
diff --git a/backend/plugin/schema/pg/get_database_definition.go b/backend/plugin/schema/pg/get_database_definition.go
index cd87b7e734..7761ccc5be 100644
--- a/backend/plugin/schema/pg/get_database_definition.go
+++ b/backend/plugin/schema/pg/get_database_definition.go
@@ -117,6 +117,11 @@ func GetDatabaseDefinition(ctx schema.GetDefinitionContext, metadata *storepb.Da
}
}
+ // Construct composite types.
+ if err := writeCompositeTypesSection(&buf, collectCompositeTypes(metadata.Schemas)); err != nil {
+ return "", err
+ }
+
// Build the graph for topological sort.
graph := parserbase.NewGraph()
functionMap := make(map[string]*storepb.FunctionMetadata)
@@ -351,6 +356,19 @@ func GetSchemaDefinition(schema *storepb.SchemaMetadata) (string, error) {
}
}
+ // Construct composite types. The schema-level SkipDump filter does not
+ // apply here: the caller asked for this specific schema's definition.
+ var compositeTypes []qualifiedCompositeType
+ for _, composite := range schema.CompositeTypes {
+ if composite.SkipDump {
+ continue
+ }
+ compositeTypes = append(compositeTypes, qualifiedCompositeType{Schema: schema.Name, Composite: composite})
+ }
+ if err := writeCompositeTypesSection(&buf, compositeTypes); err != nil {
+ return "", err
+ }
+
// Build the graph for topological sort.
graph := parserbase.NewGraph()
functionMap := make(map[string]*storepb.FunctionMetadata)
@@ -854,6 +872,251 @@ func escapeSingleQuote(s string) string {
return strings.ReplaceAll(s, "'", "''")
}
+func writeCompositeType(out io.Writer, schema string, composite *storepb.CompositeTypeMetadata) error {
+ if _, err := io.WriteString(out, `CREATE TYPE "`); err != nil {
+ return err
+ }
+ if _, err := io.WriteString(out, schema); err != nil {
+ return err
+ }
+ if _, err := io.WriteString(out, `"."`); err != nil {
+ return err
+ }
+ if _, err := io.WriteString(out, composite.Name); err != nil {
+ return err
+ }
+ if _, err := io.WriteString(out, "\" AS (\n"); err != nil {
+ return err
+ }
+ for i, attribute := range composite.Attributes {
+ if i > 0 {
+ if _, err := io.WriteString(out, ",\n"); err != nil {
+ return err
+ }
+ }
+ if _, err := io.WriteString(out, ` "`); err != nil {
+ return err
+ }
+ if _, err := io.WriteString(out, attribute.Name); err != nil {
+ return err
+ }
+ if _, err := io.WriteString(out, `" `); err != nil {
+ return err
+ }
+ if _, err := io.WriteString(out, attribute.Type); err != nil {
+ return err
+ }
+ // The collation is stored as an emit-ready identifier reference
+ // (quoted as needed, schema-qualified outside pg_catalog).
+ if attribute.Collation != "" {
+ if _, err := io.WriteString(out, ` COLLATE `); err != nil {
+ return err
+ }
+ if _, err := io.WriteString(out, attribute.Collation); err != nil {
+ return err
+ }
+ }
+ }
+
+ if _, err := io.WriteString(out, "\n)"); err != nil {
+ return err
+ }
+
+ return nil
+}
+
+func compositeTypeHasComments(composite *storepb.CompositeTypeMetadata) bool {
+ if composite.Comment != "" {
+ return true
+ }
+ for _, attribute := range composite.Attributes {
+ if attribute.Comment != "" {
+ return true
+ }
+ }
+ return false
+}
+
+func writeCompositeTypeComments(out io.Writer, schema string, composite *storepb.CompositeTypeMetadata) error {
+ if composite.Comment != "" {
+ if _, err := fmt.Fprintf(out, "COMMENT ON TYPE \"%s\".\"%s\" IS '%s';\n\n", schema, composite.Name, escapeSingleQuote(composite.Comment)); err != nil {
+ return err
+ }
+ }
+ for _, attribute := range composite.Attributes {
+ if attribute.Comment == "" {
+ continue
+ }
+ if _, err := fmt.Fprintf(out, "COMMENT ON COLUMN \"%s\".\"%s\".\"%s\" IS '%s';\n\n", schema, composite.Name, attribute.Name, escapeSingleQuote(attribute.Comment)); err != nil {
+ return err
+ }
+ }
+ return nil
+}
+
+// qualifiedCompositeType pairs a composite type with its schema for
+// cross-schema ordering.
+type qualifiedCompositeType struct {
+ Schema string
+ Composite *storepb.CompositeTypeMetadata
+}
+
+// collectCompositeTypes gathers the dumpable composite types of the given
+// schemas. Schemas with SkipDump never get a CREATE SCHEMA statement, so
+// their types must not be emitted either.
+func collectCompositeTypes(schemas []*storepb.SchemaMetadata) []qualifiedCompositeType {
+ var compositeTypes []qualifiedCompositeType
+ for _, schema := range schemas {
+ if schema.SkipDump {
+ continue
+ }
+ for _, composite := range schema.CompositeTypes {
+ if composite.SkipDump {
+ continue
+ }
+ compositeTypes = append(compositeTypes, qualifiedCompositeType{Schema: schema.Name, Composite: composite})
+ }
+ }
+ return compositeTypes
+}
+
+// writeCompositeTypesSection emits the composite types with their comments,
+// ordered so referenced composites come first.
+func writeCompositeTypesSection(buf *strings.Builder, compositeTypes []qualifiedCompositeType) error {
+ for _, t := range sortCompositeTypesTopologically(compositeTypes) {
+ if err := writeCompositeType(buf, t.Schema, t.Composite); err != nil {
+ return err
+ }
+ if _, err := buf.WriteString(";\n\n"); err != nil {
+ return err
+ }
+ if compositeTypeHasComments(t.Composite) {
+ if err := writeCompositeTypeComments(buf, t.Schema, t.Composite); err != nil {
+ return err
+ }
+ }
+ }
+ return nil
+}
+
+// parseQualifiedTypeIdent splits a type reference produced by the sync layer
+// (format_type output, schema-qualified for user-defined types) into
+// (schema, name), ignoring any typmod or array suffix. It returns ok=false
+// for unqualified references — built-in types are never schema-qualified.
+func parseQualifiedTypeIdent(s string) (string, string, bool) {
+ var parts []string
+ for i := 0; i < len(s); {
+ if s[i] == '"' {
+ var b strings.Builder
+ i++
+ for i < len(s) {
+ if s[i] == '"' {
+ if i+1 < len(s) && s[i+1] == '"' {
+ b.WriteByte('"')
+ i += 2
+ continue
+ }
+ i++
+ break
+ }
+ b.WriteByte(s[i])
+ i++
+ }
+ parts = append(parts, b.String())
+ } else {
+ start := i
+ for i < len(s) && s[i] != '.' && s[i] != '(' && s[i] != '[' {
+ i++
+ }
+ parts = append(parts, strings.TrimSpace(s[start:i]))
+ }
+ if i < len(s) && s[i] == '.' {
+ i++
+ continue
+ }
+ break
+ }
+ if len(parts) == 2 && parts[0] != "" && parts[1] != "" {
+ return parts[0], parts[1], true
+ }
+ return "", "", false
+}
+
+// sortCompositeTypesTopologically orders composite types so that a composite
+// referenced by another composite's attribute is emitted first. PostgreSQL
+// rejects self-containment, so the graph is acyclic; any leftover on an
+// unexpected cycle falls back to (schema, name) order. A composite attribute
+// typed with a table or view row type is not reordered here — that requires
+// catalog-grade dependency data (see pg_dump's pg_depend-driven sort).
+func sortCompositeTypesTopologically(types []qualifiedCompositeType) []qualifiedCompositeType {
+ key := func(schema, name string) string { return schema + "\x00" + name }
+ nodes := make(map[string]qualifiedCompositeType, len(types))
+ for _, t := range types {
+ nodes[key(t.Schema, t.Composite.Name)] = t
+ }
+ inDegree := make(map[string]int, len(nodes))
+ dependents := make(map[string][]string, len(nodes))
+ for k := range nodes {
+ inDegree[k] = 0
+ }
+ for k, t := range nodes {
+ for _, attribute := range t.Composite.Attributes {
+ depSchema, depName, ok := parseQualifiedTypeIdent(attribute.Type)
+ if !ok {
+ continue
+ }
+ depKey := key(depSchema, depName)
+ if depKey == k {
+ continue
+ }
+ if _, exists := nodes[depKey]; !exists {
+ continue
+ }
+ dependents[depKey] = append(dependents[depKey], k)
+ inDegree[k]++
+ }
+ }
+
+ var ready []string
+ for k, d := range inDegree {
+ if d == 0 {
+ ready = append(ready, k)
+ }
+ }
+ slices.Sort(ready)
+
+ ordered := make([]qualifiedCompositeType, 0, len(nodes))
+ for len(ready) > 0 {
+ k := ready[0]
+ ready = ready[1:]
+ ordered = append(ordered, nodes[k])
+ delete(inDegree, k)
+ for _, dependent := range dependents[k] {
+ if _, remaining := inDegree[dependent]; !remaining {
+ continue
+ }
+ inDegree[dependent]--
+ if inDegree[dependent] == 0 {
+ ready = append(ready, dependent)
+ }
+ }
+ slices.Sort(ready)
+ }
+
+ if len(ordered) < len(nodes) {
+ var rest []string
+ for k := range inDegree {
+ rest = append(rest, k)
+ }
+ slices.Sort(rest)
+ for _, k := range rest {
+ ordered = append(ordered, nodes[k])
+ }
+ }
+
+ return ordered
+}
+
// signatureTypesOnly strips parameter names from a function/procedure signature,
// keeping only types. PostgreSQL's COMMENT ON FUNCTION/PROCEDURE requires
// type-only signatures: "func(integer, text)" not "func(id integer, name text)".
@@ -2643,6 +2906,11 @@ func getSDLFormat(metadata *storepb.DatabaseSchemaMetadata) (string, error) {
}
}
+ // Write all composite types before sequences and tables.
+ if err := writeCompositeTypesSection(&buf, collectCompositeTypes(metadata.Schemas)); err != nil {
+ return "", err
+ }
+
// Write all sequences before tables to ensure they exist before any table references them.
// Skip sequences that belong to serial or identity columns as they will be implicitly created.
sequenceOwnershipMap := make(map[string][]*storepb.SequenceMetadata)
@@ -3738,17 +4006,16 @@ func GetMultiFileDatabaseDefinition(ctx schema.GetDefinitionContext, metadata *s
tablesMissingColumns := collectTables(metadata.Schemas, tableMissingColumnMetadata)
- // Generate files for each schema
+ // Generate every schema.sql first: extensions may install into these
+ // schemas and all other files live inside them.
for _, schemaMetadata := range metadata.Schemas {
if schemaMetadata.SkipDump {
continue
}
-
schemaName := schemaMetadata.Name
if schemaName == "" {
schemaName = "public"
}
-
schemaContent, err := getMultiFileSchemaSDL(schemaName, schemaMetadata)
if err != nil {
return nil, errors.Wrapf(err, "failed to generate schema SDL for %s", schemaName)
@@ -3759,6 +4026,39 @@ func GetMultiFileDatabaseDefinition(ctx schema.GetDefinitionContext, metadata *s
Content: schemaContent,
})
}
+ }
+
+ // Generate extensions.sql next: composite type attributes and table
+ // columns may use extension-provided types, and the extensions may
+ // install into the schemas created above.
+ if len(metadata.Extensions) > 0 {
+ var buf strings.Builder
+ for i, extension := range metadata.Extensions {
+ if i > 0 {
+ buf.WriteString("\n")
+ }
+
+ if err := writeExtension(&buf, extension); err != nil {
+ return nil, errors.Wrapf(err, "failed to generate extension SDL for %s", extension.Name)
+ }
+ }
+
+ files = append(files, schema.File{
+ Name: "extensions.sql",
+ Content: buf.String(),
+ })
+ }
+
+ // Generate files for each schema
+ for _, schemaMetadata := range metadata.Schemas {
+ if schemaMetadata.SkipDump {
+ continue
+ }
+
+ schemaName := schemaMetadata.Name
+ if schemaName == "" {
+ schemaName = "public"
+ }
// Collect independent sequences (no owner) for this schema
var independentSequences []*storepb.SequenceMetadata
@@ -3778,6 +4078,75 @@ func GetMultiFileDatabaseDefinition(ctx schema.GetDefinitionContext, metadata *s
}
}
+ // Generate a single file for all enum and composite types in this
+ // schema, listed before table files: table columns may use these types.
+ if len(schemaMetadata.EnumTypes) > 0 || len(schemaMetadata.CompositeTypes) > 0 {
+ var buf strings.Builder
+ hasTypes := false
+ for i, enumType := range schemaMetadata.EnumTypes {
+ if enumType.SkipDump {
+ continue
+ }
+
+ if hasTypes {
+ buf.WriteString("\n")
+ }
+ hasTypes = true
+
+ if i > 0 {
+ buf.WriteString("\n")
+ }
+
+ if err := writeEnum(&buf, schemaName, enumType); err != nil {
+ return nil, errors.Wrapf(err, "failed to generate enum type SDL for %s.%s", schemaName, enumType.Name)
+ }
+ buf.WriteString(";\n")
+
+ // Add enum type comment if present
+ if len(enumType.Comment) > 0 {
+ buf.WriteString("\n")
+ if err := writeEnumComment(&buf, schemaName, enumType); err != nil {
+ return nil, errors.Wrapf(err, "failed to generate enum type comment for %s.%s", schemaName, enumType.Name)
+ }
+ }
+ }
+
+ // Composite types follow enums, ordered so referenced composites
+ // come first.
+ var compositeTypes []qualifiedCompositeType
+ for _, composite := range schemaMetadata.CompositeTypes {
+ if composite.SkipDump {
+ continue
+ }
+ compositeTypes = append(compositeTypes, qualifiedCompositeType{Schema: schemaName, Composite: composite})
+ }
+ for _, t := range sortCompositeTypesTopologically(compositeTypes) {
+ if hasTypes {
+ buf.WriteString("\n")
+ }
+ hasTypes = true
+
+ if err := writeCompositeType(&buf, schemaName, t.Composite); err != nil {
+ return nil, errors.Wrapf(err, "failed to generate composite type SDL for %s.%s", schemaName, t.Composite.Name)
+ }
+ buf.WriteString(";\n")
+
+ if compositeTypeHasComments(t.Composite) {
+ buf.WriteString("\n")
+ if err := writeCompositeTypeComments(&buf, schemaName, t.Composite); err != nil {
+ return nil, errors.Wrapf(err, "failed to generate composite type comment for %s.%s", schemaName, t.Composite.Name)
+ }
+ }
+ }
+
+ if hasTypes {
+ files = append(files, schema.File{
+ Name: fmt.Sprintf("schemas/%s/types.sql", schemaName),
+ Content: buf.String(),
+ })
+ }
+ }
+
// Generate table files
for _, table := range schemaMetadata.Tables {
if table.SkipDump {
@@ -3997,46 +4366,6 @@ func GetMultiFileDatabaseDefinition(ctx schema.GetDefinitionContext, metadata *s
})
}
- // Generate a single file for all enum types in this schema
- if len(schemaMetadata.EnumTypes) > 0 {
- var buf strings.Builder
- hasEnumTypes := false
- for i, enumType := range schemaMetadata.EnumTypes {
- if enumType.SkipDump {
- continue
- }
-
- if hasEnumTypes {
- buf.WriteString("\n")
- }
- hasEnumTypes = true
-
- if i > 0 {
- buf.WriteString("\n")
- }
-
- if err := writeEnum(&buf, schemaName, enumType); err != nil {
- return nil, errors.Wrapf(err, "failed to generate enum type SDL for %s.%s", schemaName, enumType.Name)
- }
- buf.WriteString(";\n")
-
- // Add enum type comment if present
- if len(enumType.Comment) > 0 {
- buf.WriteString("\n")
- if err := writeEnumComment(&buf, schemaName, enumType); err != nil {
- return nil, errors.Wrapf(err, "failed to generate enum type comment for %s.%s", schemaName, enumType.Name)
- }
- }
- }
-
- if hasEnumTypes {
- files = append(files, schema.File{
- Name: fmt.Sprintf("schemas/%s/types.sql", schemaName),
- Content: buf.String(),
- })
- }
- }
-
// Generate a single file for all independent sequences (no owner) in this schema
if len(independentSequences) > 0 {
var buf strings.Builder
@@ -4066,25 +4395,6 @@ func GetMultiFileDatabaseDefinition(ctx schema.GetDefinitionContext, metadata *s
}
}
- // Generate extensions.sql file if there are any extensions
- if len(metadata.Extensions) > 0 {
- var buf strings.Builder
- for i, extension := range metadata.Extensions {
- if i > 0 {
- buf.WriteString("\n")
- }
-
- if err := writeExtension(&buf, extension); err != nil {
- return nil, errors.Wrapf(err, "failed to generate extension SDL for %s", extension.Name)
- }
- }
-
- files = append(files, schema.File{
- Name: "extensions.sql",
- Content: buf.String(),
- })
- }
-
// Generate event_triggers.sql file if there are any event triggers
if len(metadata.EventTriggers) > 0 {
var buf strings.Builder
diff --git a/backend/plugin/schema/pg/get_database_definition_testcontainer_test.go b/backend/plugin/schema/pg/get_database_definition_testcontainer_test.go
index 0a7a6d5ffc..3f20296c1c 100644
--- a/backend/plugin/schema/pg/get_database_definition_testcontainer_test.go
+++ b/backend/plugin/schema/pg/get_database_definition_testcontainer_test.go
@@ -69,6 +69,34 @@ CREATE TABLE items (
status status_enum DEFAULT 'pending',
user_mood mood
);
+`,
+ },
+ {
+ name: "composite_types",
+ ddl: `
+-- zz_base sorts after its dependent aa_nested alphabetically, so a correct
+-- dump proves dependency ordering rather than name ordering.
+CREATE TYPE zz_base AS (street text COLLATE "C", city varchar(50));
+COMMENT ON TYPE zz_base IS 'base address type';
+COMMENT ON COLUMN zz_base.street IS 'street line';
+
+CREATE TYPE aa_nested AS (home zz_base, homes zz_base[], tags text[]);
+
+CREATE TYPE order_status AS ENUM ('pending', 'shipped');
+CREATE TYPE order_info AS (status order_status, note text);
+
+CREATE SCHEMA geo;
+CREATE TYPE geo.point2 AS (lat numeric(9,6), lng numeric(9,6));
+CREATE TYPE wrapper AS (p geo.point2);
+
+CREATE TYPE empty_type AS ();
+
+CREATE TABLE orders (
+ id SERIAL PRIMARY KEY,
+ info order_info,
+ addresses aa_nested,
+ location geo.point2
+);
`,
},
{
@@ -486,6 +514,9 @@ func compareSchemaContents(t *testing.T, schemaA, schemaB *storepb.SchemaMetadat
// Compare enums
compareEnumsDef(t, schemaA.EnumTypes, schemaB.EnumTypes)
+ // Compare composite types
+ compareCompositeTypesDef(t, schemaA.CompositeTypes, schemaB.CompositeTypes)
+
// Compare sequences (excluding implicit sequences from SERIAL columns)
compareExplicitSequences(t, schemaA.Sequences, schemaB.Sequences)
@@ -877,6 +908,117 @@ func compareEnumsDef(t *testing.T, enumsA, enumsB []*storepb.EnumTypeMetadata) {
}
}
+// TestSyncCompositeTypesWithTestcontainer pins the exact metadata sync
+// produces for composite types, so a sync regression cannot pass vacuously
+// through the A/B round-trip comparison above.
+func TestSyncCompositeTypesWithTestcontainer(t *testing.T) {
+ ctx := context.Background()
+
+ pgContainer := testcontainer.GetTestPgContainer(ctx, t)
+ t.Cleanup(func() { pgContainer.Close(ctx) })
+
+ dbName := fmt.Sprintf("test_sync_composite_%d", time.Now().UnixNano()%1000000)
+ _, err := pgContainer.GetDB().Exec(fmt.Sprintf("CREATE DATABASE %s", dbName))
+ require.NoError(t, err)
+
+ driver, err := createPgDriver(ctx, pgContainer.GetHost(), pgContainer.GetPort(), dbName)
+ require.NoError(t, err)
+ defer driver.Close(ctx)
+
+ _, err = driver.GetDB().ExecContext(ctx, `
+CREATE TYPE zz_base AS (street text COLLATE "C", city varchar(50));
+COMMENT ON TYPE zz_base IS 'base address type';
+COMMENT ON COLUMN zz_base.street IS 'street line';
+CREATE TYPE aa_nested AS (home zz_base, homes zz_base[], tags text[]);
+CREATE TYPE empty_type AS ();
+CREATE SCHEMA geo;
+CREATE TYPE geo.point2 AS (lat numeric(9,6), lng numeric(9,6));
+CREATE TYPE wrapper AS (p geo.point2);
+CREATE TABLE plain_table (id int);
+CREATE SCHEMA locale;
+CREATE COLLATION locale.mycoll (locale = 'C');
+CREATE TYPE coll_qualified AS (v text COLLATE locale.mycoll);
+`)
+ require.NoError(t, err)
+
+ metadata, err := driver.SyncDBSchema(ctx)
+ require.NoError(t, err)
+
+ compositesBySchema := make(map[string]map[string]*storepb.CompositeTypeMetadata)
+ for _, schemaMeta := range metadata.Schemas {
+ m := make(map[string]*storepb.CompositeTypeMetadata)
+ for _, composite := range schemaMeta.CompositeTypes {
+ m[composite.Name] = composite
+ }
+ compositesBySchema[schemaMeta.Name] = m
+ }
+
+ public := compositesBySchema["public"]
+ require.Len(t, public, 5, "public schema should have exactly the created composite types")
+ require.NotContains(t, public, "plain_table", "table row types must not be synced as composite types")
+
+ collQualified := public["coll_qualified"]
+ require.NotNil(t, collQualified)
+ require.Len(t, collQualified.Attributes, 1)
+ require.Equal(t, "locale.mycoll", collQualified.Attributes[0].Collation,
+ "non-pg_catalog collations must be schema-qualified")
+
+ base := public["zz_base"]
+ require.NotNil(t, base)
+ require.Equal(t, "base address type", base.Comment)
+ require.Len(t, base.Attributes, 2)
+ require.Equal(t, "street", base.Attributes[0].Name)
+ require.Equal(t, "text", base.Attributes[0].Type)
+ require.Equal(t, `"C"`, base.Attributes[0].Collation)
+ require.Equal(t, "street line", base.Attributes[0].Comment)
+ require.Equal(t, "city", base.Attributes[1].Name)
+ require.Equal(t, "character varying(50)", base.Attributes[1].Type)
+ require.Empty(t, base.Attributes[1].Collation)
+
+ nested := public["aa_nested"]
+ require.NotNil(t, nested)
+ require.Len(t, nested.Attributes, 3)
+ require.Equal(t, "public.zz_base", nested.Attributes[0].Type, "user-defined attribute types must be schema-qualified")
+ require.Equal(t, "public.zz_base[]", nested.Attributes[1].Type)
+ require.Equal(t, "text[]", nested.Attributes[2].Type)
+
+ empty := public["empty_type"]
+ require.NotNil(t, empty, "zero-attribute composite types must be synced")
+ require.Empty(t, empty.Attributes)
+
+ wrapper := public["wrapper"]
+ require.NotNil(t, wrapper)
+ require.Len(t, wrapper.Attributes, 1)
+ require.Equal(t, "geo.point2", wrapper.Attributes[0].Type, "cross-schema attribute types must be schema-qualified")
+
+ geo := compositesBySchema["geo"]
+ require.Len(t, geo, 1)
+ require.NotNil(t, geo["point2"])
+}
+
+func compareCompositeTypesDef(t *testing.T, compositesA, compositesB []*storepb.CompositeTypeMetadata) {
+ require.Equal(t, len(compositesA), len(compositesB), "number of composite types should match")
+
+ mapA := make(map[string]*storepb.CompositeTypeMetadata)
+ for _, composite := range compositesA {
+ mapA[composite.Name] = composite
+ }
+
+ for _, compositeB := range compositesB {
+ compositeA, exists := mapA[compositeB.Name]
+ require.True(t, exists, "composite type %s should exist in metadata A", compositeB.Name)
+ require.Equal(t, compositeA.Comment, compositeB.Comment, "composite type %s: comment should match", compositeB.Name)
+ require.Equal(t, len(compositeA.Attributes), len(compositeB.Attributes), "composite type %s: attribute count should match", compositeB.Name)
+ for i, attributeA := range compositeA.Attributes {
+ attributeB := compositeB.Attributes[i]
+ require.Equal(t, attributeA.Name, attributeB.Name, "composite type %s: attribute %d name should match", compositeB.Name, i)
+ require.Equal(t, attributeA.Type, attributeB.Type, "composite type %s: attribute %s type should match", compositeB.Name, attributeA.Name)
+ require.Equal(t, attributeA.Collation, attributeB.Collation, "composite type %s: attribute %s collation should match", compositeB.Name, attributeA.Name)
+ require.Equal(t, attributeA.Comment, attributeB.Comment, "composite type %s: attribute %s comment should match", compositeB.Name, attributeA.Name)
+ }
+ }
+}
+
// compareExtensionsDef compares extensions between two databases
func compareExtensionsDef(t *testing.T, extsA, extsB []*storepb.ExtensionMetadata) {
// Create maps for easier comparison
diff --git a/docs/adr/0001-per-concept-type-metadata.md b/docs/adr/0001-per-concept-type-metadata.md
new file mode 100644
index 0000000000..6b3fa0c7d8
--- /dev/null
+++ b/docs/adr/0001-per-concept-type-metadata.md
@@ -0,0 +1,19 @@
+# Per-concept type metadata messages, not a unified UDT message
+
+`SchemaMetadata` (proto/store/store/database.proto) models named user-defined types as narrow per-concept messages — `EnumTypeMetadata`, `CompositeTypeMetadata`, and in the future `ObjectTypeMetadata` (Oracle), `TableTypeMetadata` (SQL Server), `DomainMetadata` (PostgreSQL) — each named by the owning engine family's official term. We rejected a unified `UserDefinedTypeMetadata`.
+
+Metadata is persisted as protojson in JSONB (snapshots, changelogs, releases) and unmarshaled with `DiscardUnknown`, so field names and message shapes are frozen forever once shipped: a later rename silently orphans historical data with no error. The choice therefore minimizes the probability of ever wanting to restructure.
+
+## Considered options
+
+- **Unified superset struct** (`kind` discriminator + union of all fields): most fields empty per element, meaning depends on `kind`, no invariant, heterogeneous shapes under one JSONB key.
+- **Unified `oneof` payloads**: the payloads are per-concept messages anyway; the wrapper shares only `name`/`comment`/`skip_dump` — too thin to support any shared differ, dump, or sync code.
+- **Unified `name` + definition text** (the `FunctionMetadata` pattern): only valid when drop-and-recreate is universally safe. Composite types disprove it — `DROP TYPE` fails when columns depend on the type, so migration must go through attribute-level `ALTER TYPE`, which requires structured attributes.
+
+The concepts share almost no behavior: migration DDL, dump syntax, and sync queries are disjoint per concept (composite: `ALTER TYPE ... ATTRIBUTE`; enum: `ADD VALUE` only; domain: `ALTER DOMAIN`; range/alias/table type: recreate-only; Oracle object: `ALTER TYPE ... CASCADE` + body recompile). The engines' own catalogs reach the same conclusion: PostgreSQL keeps `pg_type` as a name registry with per-flavor side catalogs (`pg_attribute`, `pg_enum`, `pg_range`, `pg_constraint`); Oracle splits `ALL_TYPES` / `ALL_TYPE_ATTRS` / `ALL_TYPE_METHODS` / `ALL_COLL_TYPES`.
+
+## Consequences
+
+- `SchemaMetadata` accretes one field per concept over time, empty for engines lacking the concept — the established pattern (`events`, `packages`, `tasks`, `enum_types`).
+- Engines share a message only when the concept genuinely matches (CockroachDB/RisingWave composite types reuse `CompositeTypeMetadata`; OceanBase Oracle mode would reuse `ObjectTypeMetadata`).
+- A cross-engine "list all named types" view, if ever needed, is an API-level aggregation over per-concept storage — not storage-level unification.
diff --git a/frontend/src/types/proto-es/v1/database_service_pb.d.ts b/frontend/src/types/proto-es/v1/database_service_pb.d.ts
index 8493bea0bc..884acab5b8 100644
--- a/frontend/src/types/proto-es/v1/database_service_pb.d.ts
+++ b/frontend/src/types/proto-es/v1/database_service_pb.d.ts
@@ -830,6 +830,15 @@ export declare type SchemaMetadata = Message<"bytebase.v1.SchemaMetadata"> & {
* @generated from field: string comment = 16;
*/
comment: string;
+
+ /**
+ * The composite_types is the list of user-defined composite types in a
+ * schema (PostgreSQL family, CREATE TYPE ... AS). Excludes table/view row
+ * types and derived types.
+ *
+ * @generated from field: repeated bytebase.v1.CompositeTypeMetadata composite_types = 17;
+ */
+ compositeTypes: CompositeTypeMetadata[];
};
/**
@@ -877,6 +886,79 @@ export declare type EnumTypeMetadata = Message<"bytebase.v1.EnumTypeMetadata"> &
*/
export declare const EnumTypeMetadataSchema: GenMessage<EnumTypeMetadata>;
+/**
+ * @generated from message bytebase.v1.CompositeTypeMetadata
+ */
+export declare type CompositeTypeMetadata = Message<"bytebase.v1.CompositeTypeMetadata"> & {
+ /**
+ * The name of the composite type.
+ *
+ * @generated from field: string name = 1;
+ */
+ name: string;
+
+ /**
+ * The ordered attributes of the composite type.
+ *
+ * @generated from field: repeated bytebase.v1.CompositeTypeAttribute attributes = 2;
+ */
+ attributes: CompositeTypeAttribute[];
+
+ /**
+ * The comment describing the composite type.
+ *
+ * @generated from field: string comment = 3;
+ */
+ comment: string;
+};
+
+/**
+ * Describes the message bytebase.v1.CompositeTypeMetadata.
+ * Use `create(CompositeTypeMetadataSchema)` to create a new message.
+ */
+export declare const CompositeTypeMetadataSchema: GenMessage<CompositeTypeMetadata>;
+
+/**
+ * @generated from message bytebase.v1.CompositeTypeAttribute
+ */
+export declare type CompositeTypeAttribute = Message<"bytebase.v1.CompositeTypeAttribute"> & {
+ /**
+ * The name of the attribute.
+ *
+ * @generated from field: string name = 1;
+ */
+ name: string;
+
+ /**
+ * The attribute type. User-defined types are always schema-qualified.
+ *
+ * @generated from field: string type = 2;
+ */
+ type: string;
+
+ /**
+ * The non-default collation of the attribute as an emit-ready SQL
+ * identifier reference (quoted as needed, schema-qualified when outside
+ * pg_catalog), empty otherwise. e.g. `"C"` or `locale.en_us`.
+ *
+ * @generated from field: string collation = 3;
+ */
+ collation: string;
+
+ /**
+ * The comment describing the attribute.
+ *
+ * @generated from field: string comment = 4;
+ */
+ comment: string;
+};
+
+/**
+ * Describes the message bytebase.v1.CompositeTypeAttribute.
+ * Use `create(CompositeTypeAttributeSchema)` to create a new message.
+ */
+export declare const CompositeTypeAttributeSchema: GenMessage<CompositeTypeAttribute>;
+
/**
* @generated from message bytebase.v1.EventMetadata
*/
diff --git a/frontend/src/types/proto-es/v1/database_service_pb.js b/frontend/src/types/proto-es/v1/database_service_pb.js
index cd5a70b4d3..58ca8f38d8 100644
--- a/frontend/src/types/proto-es/v1/database_service_pb.js
+++ b/frontend/src/types/proto-es/v1/database_service_pb.js
@@ -16,7 +16,7 @@ import { file_v1_instance_service } from "./instance_service_pb";
* Describes the file v1/database_service.proto.
*/
export const file_v1_database_service = /*@__PURE__*/
- fileDesc("Chl2MS9kYXRhYmFzZV9zZXJ2aWNlLnByb3RvEgtieXRlYmFzZS52MSJBChJHZXREYXRhYmFzZVJlcXVlc3QSKwoEbmFtZRgBIAEoCUId4EEC+kEXChVieXRlYmFzZS5jb20vRGF0YWJhc2UidwoYQmF0Y2hHZXREYXRhYmFzZXNSZXF1ZXN0Ei0KBnBhcmVudBgBIAEoCUId4EEC+kEXEhVieXRlYmFzZS5jb20vRGF0YWJhc2USLAoFbmFtZXMYAiADKAlCHeBBAvpBFwoVYnl0ZWJhc2UuY29tL0RhdGFiYXNlIkUKGUJhdGNoR2V0RGF0YWJhc2VzUmVzcG9uc2USKAoJZGF0YWJhc2VzGAEgAygLMhUuYnl0ZWJhc2UudjEuRGF0YWJhc2UipAEKFExpc3REYXRhYmFzZXNSZXF1ZXN0Ei0KBnBhcmVudBgBIAEoCUId4EEC+kEXEhVieXRlYmFzZS5jb20vRGF0YWJhc2USEQoJcGFnZV9zaXplGAIgASgFEhIKCnBhZ2VfdG9rZW4YAyABKAkSDgoGZmlsdGVyGAQgASgJEhQKDHNob3dfZGVsZXRlZBgFIAEoCBIQCghvcmRlcl9ieRgGIAEoCSJaChVMaXN0RGF0YWJhc2VzUmVzcG9uc2USKAoJZGF0YWJhc2VzGAEgAygLMhUuYnl0ZWJhc2UudjEuRGF0YWJhc2USFwoPbmV4dF9wYWdlX3Rva2VuGAIgASgJIo0BChVVcGRhdGVEYXRhYmFzZVJlcXVlc3QSLAoIZGF0YWJhc2UYASABKAsyFS5ieXRlYmFzZS52MS5EYXRhYmFzZUID4EECEi8KC3VwZGF0ZV9tYXNrGAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLkZpZWxkTWFzaxIVCg1hbGxvd19taXNzaW5nGAMgASgIImgK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FtZT1pbnN0YW5jZXMvKi9kYXRhYmFzZXMvKi9zY2hlbWFTdHJpbmd9QqoBCg9jb20uYnl0ZWJhc2UudjFCFERhdGFiYXNlU2VydmljZVByb3RvUAFaNGdpdGh1Yi5jb20vYnl0ZWJhc2UvYnl0ZWJhc2UvYmFja2VuZC9nZW5lcmF0ZWQtZ28vdjGiAgNCWFiqAgtCeXRlYmFzZS5WMcoCC0J5dGViYXNlXFYx4gIXQnl0ZWJhc2VcVjFcR1BCTWV0YWRhdGHqAgxCeXRlYmFzZTo6VjFiBnByb3RvMw", [file_google_api_annotations, file_google_api_client, file_google_api_field_behavior, file_google_api_resource, file_google_protobuf_field_mask, file_google_protobuf_timestamp, file_v1_annotation, file_v1_common, file_v1_instance_service]);
+ fileDesc("Chl2MS9kYXRhYmFzZV9zZXJ2aWNlLnByb3RvEgtieXRlYmFzZS52MSJBChJHZXREYXRhYmFzZVJlcXVlc3QSKwoEbmFtZRgBIAEoCUId4EEC+kEXChVieXRlYmFzZS5jb20vRGF0YWJhc2UidwoYQmF0Y2hHZXREYXRhYmFzZXNSZXF1ZXN0Ei0KBnBhcmVudBgBIAEoCUId4EEC+kEXEhVieXRlYmFzZS5jb20vRGF0YWJhc2USLAoFbmFtZXMYAiADKAlCHeBBAvpBFwoVYnl0ZWJhc2UuY29tL0RhdGFiYXNlIkUKGUJhdGNoR2V0RGF0YWJhc2VzUmVzcG9uc2USKAoJZGF0YWJhc2VzGAEgAygLMhUuYnl0ZWJhc2UudjEuRGF0YWJhc2UipAEKFExpc3REYXRhYmFzZXNSZXF1ZXN0Ei0KBnBhcmVudBgBIAEoCUId4EEC+kEXEhVieXRlYmFzZS5jb20vRGF0YWJhc2USEQoJcGFnZV9zaXplGAIgASgFEhIKCnBhZ2VfdG9rZW4YAyABKAkSDgoGZmlsdGVyGAQgASgJEhQKDHNob3dfZGVsZXRlZBgFIAEoCBIQCghvcmRlcl9ieRgGIAEoCSJaChVMaXN0RGF0YWJhc2VzUmVzcG9uc2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DaGFuZ2Vsb2dzUmVxdWVzdBojLmJ5dGViYXNlLnYxLkxpc3RDaGFuZ2Vsb2dzUmVzcG9uc2UiWtpBBnBhcmVudIrqMBJiYi5jaGFuZ2Vsb2dzLmxpc3SQ6jABgtPkkwIxEi8vdjEve3BhcmVudD1pbnN0YW5jZXMvKi9kYXRhYmFzZXMvKn0vY2hhbmdlbG9ncxKhAQoMR2V0Q2hhbmdlbG9nEiAuYnl0ZWJhc2UudjEuR2V0Q2hhbmdlbG9nUmVxdWVzdBoWLmJ5dGViYXNlLnYxLkNoYW5nZWxvZyJX2kEEbmFtZYrqMBFiYi5jaGFuZ2Vsb2dzLmdldJDqMAGC0+STAjESLy92MS97bmFtZT1pbnN0YW5jZXMvKi9kYXRhYmFzZXMvKi9jaGFuZ2Vsb2dzLyp9EroBCg9HZXRTY2hlbWFTdHJpbmcSIy5ieXRlYmFzZS52MS5HZXRTY2hlbWFTdHJpbmdSZXF1ZXN0GiQuYnl0ZWJhc2UudjEuR2V0U2NoZW1hU3RyaW5nUmVzcG9uc2UiXNpBBG5hbWWK6jAWYmIuZGF0YWJhc2VzLmdldFNjaGVtYZDqMAGC0+STAjESLy92MS97bmFtZT1pbnN0YW5jZXMvKi9kYXRhYmFzZXMvKi9zY2hlbWFTdHJpbmd9QqoBCg9jb20uYnl0ZWJhc2UudjFCFERhdGFiYXNlU2VydmljZVByb3RvUAFaNGdpdGh1Yi5jb20vYnl0ZWJhc2UvYnl0ZWJhc2UvYmFja2VuZC9nZW5lcmF0ZWQtZ28vdjGiAgNCWFiqAgtCeXRlYmFzZS5WMcoCC0J5dGViYXNlXFYx4gIXQnl0ZWJhc2VcVjFcR1BCTWV0YWRhdGHqAgxCeXRlYmFzZTo6VjFiBnByb3RvMw", [file_google_api_annotations, file_google_api_client, file_google_api_field_behavior, file_google_api_resource, file_google_protobuf_field_mask, file_google_protobuf_timestamp, file_v1_annotation, file_v1_common, file_v1_instance_service]);
/**
* Describes the message bytebase.v1.GetDatabaseRequest.
@@ -179,60 +179,74 @@ export const SchemaMetadataSchema = /*@__PURE__*/
export const EnumTypeMetadataSchema = /*@__PURE__*/
messageDesc(file_v1_database_service, 20);
+/**
+ * Describes the message bytebase.v1.CompositeTypeMetadata.
+ * Use `create(CompositeTypeMetadataSchema)` to create a new message.
+ */
+export const CompositeTypeMetadataSchema = /*@__PURE__*/
+ messageDesc(file_v1_database_service, 21);
+
+/**
+ * Describes the message bytebase.v1.CompositeTypeAttribute.
+ * Use `create(CompositeTypeAttributeSchema)` to create a new message.
+ */
+export const CompositeTypeAttributeSchema = /*@__PURE__*/
+ messageDesc(file_v1_database_service, 22);
+
/**
* Describes the message bytebase.v1.EventMetadata.
* Use `create(EventMetadataSchema)` to create a new message.
*/
export const EventMetadataSchema = /*@__PURE__*/
- messageDesc(file_v1_database_service, 21);
+ messageDesc(file_v1_database_service, 23);
/**
* Describes the message bytebase.v1.SequenceMetadata.
* Use `create(SequenceMetadataSchema)` to create a new message.
*/
export const SequenceMetadataSchema = /*@__PURE__*/
- messageDesc(file_v1_database_service, 22);
+ messageDesc(file_v1_database_service, 24);
/**
* Describes the message bytebase.v1.TriggerMetadata.
* Use `create(TriggerMetadataSchema)` to create a new message.
*/
export const TriggerMetadataSchema = /*@__PURE__*/
- messageDesc(file_v1_database_service, 23);
+ messageDesc(file_v1_database_service, 25);
/**
* Describes the message bytebase.v1.ExternalTableMetadata.
* Use `create(ExternalTableMetadataSchema)` to create a new message.
*/
export const ExternalTableMetadataSchema = /*@__PURE__*/
- messageDesc(file_v1_database_service, 24);
+ messageDesc(file_v1_database_service, 26);
/**
* Describes the message bytebase.v1.TableMetadata.
* Use `create(TableMetadataSchema)` to create a new message.
*/
export const TableMetadataSchema = /*@__PURE__*/
- messageDesc(file_v1_database_service, 25);
+ messageDesc(file_v1_database_service, 27);
/**
* Describes the message bytebase.v1.CheckConstraintMetadata.
* Use `create(CheckConstraintMetadataSchema)` to create a new message.
*/
export const CheckConstraintMetadataSchema = /*@__PURE__*/
- messageDesc(file_v1_database_service, 26);
+ messageDesc(file_v1_database_service, 28);
/**
* Describes the message bytebase.v1.TablePartitionMetadata.
* Use `create(TablePartitionMetadataSchema)` to create a new message.
*/
export const TablePartitionMetadataSchema = /*@__PURE__*/
- messageDesc(file_v1_database_service, 27);
+ messageDesc(file_v1_database_service, 29);
/**
* Describes the enum bytebase.v1.TablePartitionMetadata.Type.
*/
export const TablePartitionMetadata_TypeSchema = /*@__PURE__*/
- enumDesc(file_v1_database_service, 27, 0);
+ enumDesc(file_v1_database_service, 29, 0);
/**
* Type is the type of a table partition, some database engines may not
@@ -253,13 +267,13 @@ export const TablePartitionMetadata_Type = /*@__PURE__*/
* Use `create(ColumnMetadataSchema)` to create a new message.
*/
export const ColumnMetadataSchema = /*@__PURE__*/
- messageDesc(file_v1_database_service, 28);
+ messageDesc(file_v1_database_service, 30);
/**
* Describes the enum bytebase.v1.ColumnMetadata.IdentityGeneration.
*/
export const ColumnMetadata_IdentityGenerationSchema = /*@__PURE__*/
- enumDesc(file_v1_database_service, 28, 0);
+ enumDesc(file_v1_database_service, 30, 0);
/**
* @generated from enum bytebase.v1.ColumnMetadata.IdentityGeneration
@@ -272,13 +286,13 @@ export const ColumnMetadata_IdentityGeneration = /*@__PURE__*/
* Use `create(GenerationMetadataSchema)` to create a new message.
*/
export const GenerationMetadataSchema = /*@__PURE__*/
- messageDesc(file_v1_database_service, 29);
+ messageDesc(file_v1_database_service, 31);
/**
* Describes the enum bytebase.v1.GenerationMetadata.Type.
*/
export const GenerationMetadata_TypeSchema = /*@__PURE__*/
- enumDesc(file_v1_database_service, 29, 0);
+ enumDesc(file_v1_database_service, 31, 0);
/**
* @generated from enum bytebase.v1.GenerationMetadata.Type
@@ -291,62 +305,62 @@ export const GenerationMetadata_Type = /*@__PURE__*/
* Use `create(ViewMetadataSchema)` to create a new message.
*/
export const ViewMetadataSchema = /*@__PURE__*/
- messageDesc(file_v1_database_service, 30);
+ messageDesc(file_v1_database_service, 32);
/**
* Describes the message bytebase.v1.DependencyColumn.
* Use `create(DependencyColumnSchema)` to create a new message.
*/
export const DependencyColumnSchema = /*@__PURE__*/
- messageDesc(file_v1_database_service, 31);
+ messageDesc(file_v1_database_service, 33);
/**
* Describes the message bytebase.v1.MaterializedViewMetadata.
* Use `create(MaterializedViewMetadataSchema)` to create a new message.
*/
export const MaterializedViewMetadataSchema = /*@__PURE__*/
- messageDesc(file_v1_database_service, 32);
+ messageDesc(file_v1_database_service, 34);
/**
* Describes the message bytebase.v1.DependencyTable.
* Use `create(DependencyTableSchema)` to create a new message.
*/
export const DependencyTableSchema = /*@__PURE__*/
- messageDesc(file_v1_database_service, 33);
+ messageDesc(file_v1_database_service, 35);
/**
* Describes the message bytebase.v1.FunctionMetadata.
* Use `create(FunctionMetadataSchema)` to create a new message.
*/
export const FunctionMetadataSchema = /*@__PURE__*/
- messageDesc(file_v1_database_service, 34);
+ messageDesc(file_v1_database_service, 36);
/**
* Describes the message bytebase.v1.ProcedureMetadata.
* Use `create(ProcedureMetadataSchema)` to create a new message.
*/
export const ProcedureMetadataSchema = /*@__PURE__*/
- messageDesc(file_v1_database_service, 35);
+ messageDesc(file_v1_database_service, 37);
/**
* Describes the message bytebase.v1.PackageMetadata.
* Use `create(PackageMetadataSchema)` to create a new message.
*/
export const PackageMetadataSchema = /*@__PURE__*/
- messageDesc(file_v1_database_service, 36);
+ messageDesc(file_v1_database_service, 38);
/**
* Describes the message bytebase.v1.TaskMetadata.
* Use `create(TaskMetadataSchema)` to create a new message.
*/
export const TaskMetadataSchema = /*@__PURE__*/
- messageDesc(file_v1_database_service, 37);
+ messageDesc(file_v1_database_service, 39);
/**
* Describes the enum bytebase.v1.TaskMetadata.State.
*/
export const TaskMetadata_StateSchema = /*@__PURE__*/
- enumDesc(file_v1_database_service, 37, 0);
+ enumDesc(file_v1_database_service, 39, 0);
/**
* @generated from enum bytebase.v1.TaskMetadata.State
@@ -359,13 +373,13 @@ export const TaskMetadata_State = /*@__PURE__*/
* Use `create(StreamMetadataSchema)` to create a new message.
*/
export const StreamMetadataSchema = /*@__PURE__*/
- messageDesc(file_v1_database_service, 38);
+ messageDesc(file_v1_database_service, 40);
/**
* Describes the enum bytebase.v1.StreamMetadata.Type.
*/
export const StreamMetadata_TypeSchema = /*@__PURE__*/
- enumDesc(file_v1_database_service, 38, 0);
+ enumDesc(file_v1_database_service, 40, 0);
/**
* @generated from enum bytebase.v1.StreamMetadata.Type
@@ -377,7 +391,7 @@ export const StreamMetadata_Type = /*@__PURE__*/
* Describes the enum bytebase.v1.StreamMetadata.Mode.
*/
export const StreamMetadata_ModeSchema = /*@__PURE__*/
- enumDesc(file_v1_database_service, 38, 1);
+ enumDesc(file_v1_database_service, 40, 1);
/**
* @generated from enum bytebase.v1.StreamMetadata.Mode
@@ -390,118 +404,118 @@ export const StreamMetadata_Mode = /*@__PURE__*/
* Use `create(SpatialIndexConfigSchema)` to create a new message.
*/
export const SpatialIndexConfigSchema = /*@__PURE__*/
- messageDesc(file_v1_database_service, 39);
+ messageDesc(file_v1_database_service, 41);
/**
* Describes the message bytebase.v1.TessellationConfig.
* Use `create(TessellationConfigSchema)` to create a new message.
*/
export const TessellationConfigSchema = /*@__PURE__*/
- messageDesc(file_v1_database_service, 40);
+ messageDesc(file_v1_database_service, 42);
/**
* Describes the message bytebase.v1.GridLevel.
* Use `create(GridLevelSchema)` to create a new message.
*/
export const GridLevelSchema = /*@__PURE__*/
- messageDesc(file_v1_database_service, 41);
+ messageDesc(file_v1_database_service, 43);
/**
* Describes the message bytebase.v1.BoundingBox.
* Use `create(BoundingBoxSchema)` to create a new message.
*/
export const BoundingBoxSchema = /*@__PURE__*/
- messageDesc(file_v1_database_service, 42);
+ messageDesc(file_v1_database_service, 44);
/**
* Describes the message bytebase.v1.StorageConfig.
* Use `create(StorageConfigSchema)` to create a new message.
*/
export const StorageConfigSchema = /*@__PURE__*/
- messageDesc(file_v1_database_service, 43);
+ messageDesc(file_v1_database_service, 45);
/**
* Describes the message bytebase.v1.DimensionalConfig.
* Use `create(DimensionalConfigSchema)` to create a new message.
*/
export const DimensionalConfigSchema = /*@__PURE__*/
- messageDesc(file_v1_database_service, 44);
+ messageDesc(file_v1_database_service, 46);
/**
* Describes the message bytebase.v1.DimensionConstraint.
* Use `create(DimensionConstraintSchema)` to create a new message.
*/
export const DimensionConstraintSchema = /*@__PURE__*/
- messageDesc(file_v1_database_service, 45);
+ messageDesc(file_v1_database_service, 47);
/**
* Describes the message bytebase.v1.IndexMetadata.
* Use `create(IndexMetadataSchema)` to create a new message.
*/
export const IndexMetadataSchema = /*@__PURE__*/
- messageDesc(file_v1_database_service, 46);
+ messageDesc(file_v1_database_service, 48);
/**
* Describes the message bytebase.v1.ExtensionMetadata.
* Use `create(ExtensionMetadataSchema)` to create a new message.
*/
export const ExtensionMetadataSchema = /*@__PURE__*/
- messageDesc(file_v1_database_service, 47);
+ messageDesc(file_v1_database_service, 49);
/**
* Describes the message bytebase.v1.ForeignKeyMetadata.
* Use `create(ForeignKeyMetadataSchema)` to create a new message.
*/
export const ForeignKeyMetadataSchema = /*@__PURE__*/
- messageDesc(file_v1_database_service, 48);
+ messageDesc(file_v1_database_service, 50);
/**
* Describes the message bytebase.v1.DatabaseSchema.
* Use `create(DatabaseSchemaSchema)` to create a new message.
*/
export const DatabaseSchemaSchema = /*@__PURE__*/
- messageDesc(file_v1_database_service, 49);
+ messageDesc(file_v1_database_service, 51);
/**
* Describes the message bytebase.v1.DatabaseSDLSchema.
* Use `create(DatabaseSDLSchemaSchema)` to create a new message.
*/
export const DatabaseSDLSchemaSchema = /*@__PURE__*/
- messageDesc(file_v1_database_service, 50);
+ messageDesc(file_v1_database_service, 52);
/**
* Describes the message bytebase.v1.ListChangelogsRequest.
* Use `create(ListChangelogsRequestSchema)` to create a new message.
*/
export const ListChangelogsRequestSchema = /*@__PURE__*/
- messageDesc(file_v1_database_service, 51);
+ messageDesc(file_v1_database_service, 53);
/**
* Describes the message bytebase.v1.ListChangelogsResponse.
* Use `create(ListChangelogsResponseSchema)` to create a new message.
*/
export const ListChangelogsResponseSchema = /*@__PURE__*/
- messageDesc(file_v1_database_service, 52);
+ messageDesc(file_v1_database_service, 54);
/**
* Describes the message bytebase.v1.GetChangelogRequest.
* Use `create(GetChangelogRequestSchema)` to create a new message.
*/
export const GetChangelogRequestSchema = /*@__PURE__*/
- messageDesc(file_v1_database_service, 53);
+ messageDesc(file_v1_database_service, 55);
/**
* Describes the message bytebase.v1.Changelog.
* Use `create(ChangelogSchema)` to create a new message.
*/
export const ChangelogSchema = /*@__PURE__*/
- messageDesc(file_v1_database_service, 54);
+ messageDesc(file_v1_database_service, 56);
/**
* Describes the enum bytebase.v1.Changelog.Status.
*/
export const Changelog_StatusSchema = /*@__PURE__*/
- enumDesc(file_v1_database_service, 54, 0);
+ enumDesc(file_v1_database_service, 56, 0);
/**
* @generated from enum bytebase.v1.Changelog.Status
@@ -514,13 +528,13 @@ export const Changelog_Status = /*@__PURE__*/
* Use `create(GetSchemaStringRequestSchema)` to create a new message.
*/
export const GetSchemaStringRequestSchema = /*@__PURE__*/
- messageDesc(file_v1_database_service, 55);
+ messageDesc(file_v1_database_service, 57);
/**
* Describes the enum bytebase.v1.GetSchemaStringRequest.ObjectType.
*/
export const GetSchemaStringRequest_ObjectTypeSchema = /*@__PURE__*/
- enumDesc(file_v1_database_service, 55, 0);
+ enumDesc(file_v1_database_service, 57, 0);
/**
* @generated from enum bytebase.v1.GetSchemaStringRequest.ObjectType
@@ -533,7 +547,7 @@ export const GetSchemaStringRequest_ObjectType = /*@__PURE__*/
* Use `create(GetSchemaStringResponseSchema)` to create a new message.
*/
export const GetSchemaStringResponseSchema = /*@__PURE__*/
- messageDesc(file_v1_database_service, 56);
+ messageDesc(file_v1_database_service, 58);
/**
* Describes the enum bytebase.v1.SyncStatus.
diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yaml
index d6f361d4d7..a9522fa805 100644
--- a/proto/gen/grpc-doc/openapi.yaml
+++ b/proto/gen/grpc-doc/openapi.yaml
@@ -4648,6 +4648,45 @@ paths:
schema:
type: string
title: comment
+ - name: metadata.schemas.compositeTypes.name
+ in: query
+ description: The name of the composite type.
+ schema:
+ type: string
+ title: name
+ - name: metadata.schemas.compositeTypes.attributes.name
+ in: query
+ description: The name of the attribute.
+ schema:
+ type: string
+ title: name
+ - name: metadata.schemas.compositeTypes.attributes.type
+ in: query
+ description: The attribute type. User-defined types are always schema-qualified.
+ schema:
+ type: string
+ title: type
+ - name: metadata.schemas.compositeTypes.attributes.collation
+ in: query
+ description: |-
+ The non-default collation of the attribute as an emit-ready SQL
+ identifier reference (quoted as needed, schema-qualified when outside
+ pg_catalog), empty otherwise. e.g. `"C"` or `locale.en_us`.
+ schema:
+ type: string
+ title: collation
+ - name: metadata.schemas.compositeTypes.attributes.comment
+ in: query
+ description: The comment describing the attribute.
+ schema:
+ type: string
+ title: comment
+ - name: metadata.schemas.compositeTypes.comment
+ in: query
+ description: The comment describing the composite type.
+ schema:
+ type: string
+ title: comment
- name: metadata.characterSet
in: query
description: The character_set is the character set of a database.
@@ -17511,6 +17550,49 @@ components:
- IDENTITY_GENERATION_UNSPECIFIED
- ALWAYS
- BY_DEFAULT
+ bytebase.v1.CompositeTypeAttribute:
+ type: object
+ properties:
+ name:
+ type: string
+ title: name
+ description: The name of the attribute.
+ type:
+ type: string
+ title: type
+ description: The attribute type. User-defined types are always schema-qualified.
+ collation:
+ type: string
+ title: collation
+ description: |-
+ The non-default collation of the attribute as an emit-ready SQL
+ identifier reference (quoted as needed, schema-qualified when outside
+ pg_catalog), empty otherwise. e.g. `"C"` or `locale.en_us`.
+ comment:
+ type: string
+ title: comment
+ description: The comment describing the attribute.
+ title: CompositeTypeAttribute
+ additionalProperties: false
+ bytebase.v1.CompositeTypeMetadata:
+ type: object
+ properties:
+ name:
+ type: string
+ title: name
+ description: The name of the composite type.
+ attributes:
+ type: array
+ items:
+ $ref: '#/components/schemas/bytebase.v1.CompositeTypeAttribute'
+ title: attributes
+ description: The ordered attributes of the composite type.
+ comment:
+ type: string
+ title: comment
+ description: The comment describing the composite type.
+ title: CompositeTypeMetadata
+ additionalProperties: false
bytebase.v1.CreateAccessGrantRequest:
type: object
properties:
@@ -25520,6 +25602,15 @@ components:
type: string
title: comment
description: The comment is the comment of a schema.
+ compositeTypes:
+ type: array
+ items:
+ $ref: '#/components/schemas/bytebase.v1.CompositeTypeMetadata'
+ title: composite_types
+ description: |-
+ The composite_types is the list of user-defined composite types in a
+ schema (PostgreSQL family, CREATE TYPE ... AS). Excludes table/view row
+ types and derived types.
title: SchemaMetadata
additionalProperties: false
description: |-
diff --git a/proto/gen/grpc-doc/store/README.md b/proto/gen/grpc-doc/store/README.md
index a5d7f77747..d29ca3d04b 100644
--- a/proto/gen/grpc-doc/store/README.md
+++ b/proto/gen/grpc-doc/store/README.md
@@ -53,6 +53,8 @@
- [ColumnCatalog](#bytebase-store-ColumnCatalog)
- [ColumnCatalog.LabelsEntry](#bytebase-store-ColumnCatalog-LabelsEntry)
- [ColumnMetadata](#bytebase-store-ColumnMetadata)
+ - [CompositeTypeAttribute](#bytebase-store-CompositeTypeAttribute)
+ - [CompositeTypeMetadata](#bytebase-store-CompositeTypeMetadata)
- [DatabaseConfig](#bytebase-store-DatabaseConfig)
- [DatabaseMetadata](#bytebase-store-DatabaseMetadata)
- [DatabaseMetadata.LabelsEntry](#bytebase-store-DatabaseMetadata-LabelsEntry)
@@ -1066,6 +1068,42 @@ This field is populated when syncing from the database. When empty (e.g., when p
+<a name="bytebase-store-CompositeTypeAttribute"></a>
+
+### CompositeTypeAttribute
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| name | [string](#string) | | The name of the attribute. |
+| type | [string](#string) | | The attribute type. User-defined types are always schema-qualified. |
+| collation | [string](#string) | | The non-default collation of the attribute as an emit-ready SQL identifier reference (quoted as needed, schema-qualified when outside pg_catalog), empty otherwise. e.g. `&#34;C&#34;` or `locale.en_us`. |
+| comment | [string](#string) | | |
+
+
+
+
+
+
+<a name="bytebase-store-CompositeTypeMetadata"></a>
+
+### CompositeTypeMetadata
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| name | [string](#string) | | The name of the composite type. |
+| attributes | [CompositeTypeAttribute](#bytebase-store-CompositeTypeAttribute) | repeated | The ordered attributes of the composite type. |
+| comment | [string](#string) | | |
+| skip_dump | [bool](#bool) | | |
+
+
+
+
+
+
<a name="bytebase-store-DatabaseConfig"></a>
### DatabaseConfig
@@ -1641,6 +1679,7 @@ This is the concept of schema in Postgres, but it&#39;s a no-op for MySQL.
| events | [EventMetadata](#bytebase-store-EventMetadata) | repeated | |
| enum_types | [EnumTypeMetadata](#bytebase-store-EnumTypeMetadata) | repeated | |
| skip_dump | [bool](#bool) | | |
+| composite_types | [CompositeTypeMetadata](#bytebase-store-CompositeTypeMetadata) | repeated | The list of user-defined composite types in a schema (PostgreSQL family, CREATE TYPE ... AS). Excludes table/view row types and derived types. |
diff --git a/proto/gen/grpc-doc/store/index.html b/proto/gen/grpc-doc/store/index.html
index 96ec6e7b7f..b702396733 100644
--- a/proto/gen/grpc-doc/store/index.html
+++ b/proto/gen/grpc-doc/store/index.html
@@ -375,6 +375,14 @@
<a href="#bytebase.store.ColumnMetadata"><span class="badge">M</span>ColumnMetadata</a>
</li>
+ <li>
+ <a href="#bytebase.store.CompositeTypeAttribute"><span class="badge">M</span>CompositeTypeAttribute</a>
+ </li>
+
+ <li>
+ <a href="#bytebase.store.CompositeTypeMetadata"><span class="badge">M</span>CompositeTypeMetadata</a>
+ </li>
+
<li>
<a href="#bytebase.store.DatabaseConfig"><span class="badge">M</span>DatabaseConfig</a>
</li>
@@ -3432,6 +3440,98 @@ rendered as the `/*!80023 INVISIBLE */` column attribute. </p></td>
+ <h3 id="bytebase.store.CompositeTypeAttribute">CompositeTypeAttribute</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>name</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The name of the attribute. </p></td>
+ </tr>
+
+ <tr>
+ <td>type</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The attribute type. User-defined types are always schema-qualified. </p></td>
+ </tr>
+
+ <tr>
+ <td>collation</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The non-default collation of the attribute as an emit-ready SQL
+identifier reference (quoted as needed, schema-qualified when outside
+pg_catalog), empty otherwise. e.g. `&#34;C&#34;` or `locale.en_us`. </p></td>
+ </tr>
+
+ <tr>
+ <td>comment</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.store.CompositeTypeMetadata">CompositeTypeMetadata</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>name</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The name of the composite type. </p></td>
+ </tr>
+
+ <tr>
+ <td>attributes</td>
+ <td><a href="#bytebase.store.CompositeTypeAttribute">CompositeTypeAttribute</a></td>
+ <td>repeated</td>
+ <td><p>The ordered attributes of the composite type. </p></td>
+ </tr>
+
+ <tr>
+ <td>comment</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>skip_dump</td>
+ <td><a href="#bool">bool</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
<h3 id="bytebase.store.DatabaseConfig">DatabaseConfig</h3>
<p></p>
@@ -5061,6 +5161,14 @@ It is an empty string for databases without such concept such as MySQL. </p></td
<td><p> </p></td>
</tr>
+ <tr>
+ <td>composite_types</td>
+ <td><a href="#bytebase.store.CompositeTypeMetadata">CompositeTypeMetadata</a></td>
+ <td>repeated</td>
+ <td><p>The list of user-defined composite types in a schema (PostgreSQL family,
+CREATE TYPE ... AS). Excludes table/view row types and derived types. </p></td>
+ </tr>
+
</tbody>
</table>
diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.md
index cce4451442..c967b9517f 100644
--- a/proto/gen/grpc-doc/v1/README.md
+++ b/proto/gen/grpc-doc/v1/README.md
@@ -157,6 +157,8 @@
- [Changelog](#bytebase-v1-Changelog)
- [CheckConstraintMetadata](#bytebase-v1-CheckConstraintMetadata)
- [ColumnMetadata](#bytebase-v1-ColumnMetadata)
+ - [CompositeTypeAttribute](#bytebase-v1-CompositeTypeAttribute)
+ - [CompositeTypeMetadata](#bytebase-v1-CompositeTypeMetadata)
- [Database](#bytebase-v1-Database)
- [Database.LabelsEntry](#bytebase-v1-Database-LabelsEntry)
- [DatabaseMetadata](#bytebase-v1-DatabaseMetadata)
@@ -3160,6 +3162,41 @@ This field is populated when syncing from the database. When empty (e.g., when p
+<a name="bytebase-v1-CompositeTypeAttribute"></a>
+
+### CompositeTypeAttribute
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| name | [string](#string) | | The name of the attribute. |
+| type | [string](#string) | | The attribute type. User-defined types are always schema-qualified. |
+| collation | [string](#string) | | The non-default collation of the attribute as an emit-ready SQL identifier reference (quoted as needed, schema-qualified when outside pg_catalog), empty otherwise. e.g. `&#34;C&#34;` or `locale.en_us`. |
+| comment | [string](#string) | | The comment describing the attribute. |
+
+
+
+
+
+
+<a name="bytebase-v1-CompositeTypeMetadata"></a>
+
+### CompositeTypeMetadata
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| name | [string](#string) | | The name of the composite type. |
+| attributes | [CompositeTypeAttribute](#bytebase-v1-CompositeTypeAttribute) | repeated | The ordered attributes of the composite type. |
+| comment | [string](#string) | | The comment describing the composite type. |
+
+
+
+
+
+
<a name="bytebase-v1-Database"></a>
### Database
@@ -3828,6 +3865,7 @@ This is the concept of schema in Postgres, but it&#39;s a no-op for MySQL.
| enum_types | [EnumTypeMetadata](#bytebase-v1-EnumTypeMetadata) | repeated | The enum_types is the list of user-defined enum types in a schema. |
| skip_dump | [bool](#bool) | | Whether to skip this schema during schema dump operations. |
| comment | [string](#string) | | The comment is the comment of a schema. |
+| composite_types | [CompositeTypeMetadata](#bytebase-v1-CompositeTypeMetadata) | repeated | The composite_types is the list of user-defined composite types in a schema (PostgreSQL family, CREATE TYPE ... AS). Excludes table/view row types and derived types. |
diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.html
index fb304ad60e..e9fa7a4ded 100644
--- a/proto/gen/grpc-doc/v1/index.html
+++ b/proto/gen/grpc-doc/v1/index.html
@@ -772,6 +772,14 @@
<a href="#bytebase.v1.ColumnMetadata"><span class="badge">M</span>ColumnMetadata</a>
</li>
+ <li>
+ <a href="#bytebase.v1.CompositeTypeAttribute"><span class="badge">M</span>CompositeTypeAttribute</a>
+ </li>
+
+ <li>
+ <a href="#bytebase.v1.CompositeTypeMetadata"><span class="badge">M</span>CompositeTypeMetadata</a>
+ </li>
+
<li>
<a href="#bytebase.v1.Database"><span class="badge">M</span>Database</a>
</li>
@@ -9728,6 +9736,91 @@ int32). </p></td>
+ <h3 id="bytebase.v1.CompositeTypeAttribute">CompositeTypeAttribute</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>name</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The name of the attribute. </p></td>
+ </tr>
+
+ <tr>
+ <td>type</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The attribute type. User-defined types are always schema-qualified. </p></td>
+ </tr>
+
+ <tr>
+ <td>collation</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The non-default collation of the attribute as an emit-ready SQL
+identifier reference (quoted as needed, schema-qualified when outside
+pg_catalog), empty otherwise. e.g. `&#34;C&#34;` or `locale.en_us`. </p></td>
+ </tr>
+
+ <tr>
+ <td>comment</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The comment describing the attribute. </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.CompositeTypeMetadata">CompositeTypeMetadata</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>name</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The name of the composite type. </p></td>
+ </tr>
+
+ <tr>
+ <td>attributes</td>
+ <td><a href="#bytebase.v1.CompositeTypeAttribute">CompositeTypeAttribute</a></td>
+ <td>repeated</td>
+ <td><p>The ordered attributes of the composite type. </p></td>
+ </tr>
+
+ <tr>
+ <td>comment</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The comment describing the composite type. </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
<h3 id="bytebase.v1.Database">Database</h3>
<p></p>
@@ -11579,6 +11672,15 @@ Snowflake. </p></td>
<td><p>The comment is the comment of a schema. </p></td>
</tr>
+ <tr>
+ <td>composite_types</td>
+ <td><a href="#bytebase.v1.CompositeTypeMetadata">CompositeTypeMetadata</a></td>
+ <td>repeated</td>
+ <td><p>The composite_types is the list of user-defined composite types in a
+schema (PostgreSQL family, CREATE TYPE ... AS). Excludes table/view row
+types and derived types. </p></td>
+ </tr>
+
</tbody>
</table>
diff --git a/proto/store/store/database.proto b/proto/store/store/database.proto
index c4e983834f..b4aa097790 100644
--- a/proto/store/store/database.proto
+++ b/proto/store/store/database.proto
@@ -119,6 +119,10 @@ message SchemaMetadata {
repeated EnumTypeMetadata enum_types = 15;
bool skip_dump = 16;
+
+ // The list of user-defined composite types in a schema (PostgreSQL family,
+ // CREATE TYPE ... AS). Excludes table/view row types and derived types.
+ repeated CompositeTypeMetadata composite_types = 17;
}
message EnumTypeMetadata {
@@ -133,6 +137,33 @@ message EnumTypeMetadata {
bool skip_dump = 4;
}
+message CompositeTypeMetadata {
+ // The name of the composite type.
+ string name = 1;
+
+ // The ordered attributes of the composite type.
+ repeated CompositeTypeAttribute attributes = 2;
+
+ string comment = 3;
+
+ bool skip_dump = 4;
+}
+
+message CompositeTypeAttribute {
+ // The name of the attribute.
+ string name = 1;
+
+ // The attribute type. User-defined types are always schema-qualified.
+ string type = 2;
+
+ // The non-default collation of the attribute as an emit-ready SQL
+ // identifier reference (quoted as needed, schema-qualified when outside
+ // pg_catalog), empty otherwise. e.g. `"C"` or `locale.en_us`.
+ string collation = 3;
+
+ string comment = 4;
+}
+
message EventMetadata {
// The name of the event.
string name = 1;
diff --git a/proto/v1/v1/database_service.proto b/proto/v1/v1/database_service.proto
index 759163c9c1..f73d84ac18 100644
--- a/proto/v1/v1/database_service.proto
+++ b/proto/v1/v1/database_service.proto
@@ -566,6 +566,11 @@ message SchemaMetadata {
// The comment is the comment of a schema.
string comment = 16;
+
+ // The composite_types is the list of user-defined composite types in a
+ // schema (PostgreSQL family, CREATE TYPE ... AS). Excludes table/view row
+ // types and derived types.
+ repeated CompositeTypeMetadata composite_types = 17;
}
message EnumTypeMetadata {
@@ -582,6 +587,33 @@ message EnumTypeMetadata {
bool skip_dump = 4;
}
+message CompositeTypeMetadata {
+ // The name of the composite type.
+ string name = 1;
+
+ // The ordered attributes of the composite type.
+ repeated CompositeTypeAttribute attributes = 2;
+
+ // The comment describing the composite type.
+ string comment = 3;
+}
+
+message CompositeTypeAttribute {
+ // The name of the attribute.
+ string name = 1;
+
+ // The attribute type. User-defined types are always schema-qualified.
+ string type = 2;
+
+ // The non-default collation of the attribute as an emit-ready SQL
+ // identifier reference (quoted as needed, schema-qualified when outside
+ // pg_catalog), empty otherwise. e.g. `"C"` or `locale.en_us`.
+ string collation = 3;
+
+ // The comment describing the attribute.
+ string comment = 4;
+}
+
message EventMetadata {
// The name of the event.
string name = 1;