We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ddb5c09 commit fc8b7b1Copy full SHA for fc8b7b1
1 file changed
internal/sql/catalog/schema.go
@@ -77,6 +77,10 @@ func (s *Schema) getType(rel *ast.TypeName) (Type, int, error) {
77
if typ.Name == rel.Name {
78
return s.Types[i], i, nil
79
}
80
+ case *CompositeType:
81
+ if typ.Name == rel.Name {
82
+ return s.Types[i], i, nil
83
+ }
84
85
86
return nil, -1, sqlerr.TypeNotFound(rel.Name)
0 commit comments