MCPcopy Create free account
hub / github.com/apecloud/myduckserver / PostgresType

Struct PostgresType

pgtypes/pgtypes.go:381–389  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379 }
380 return schema, nil
381}
382
383type PostgresType struct {
384 PG *pgtype.Type
385 Precision int32
386 Scale int32
387 // https://www.postgresql.org/docs/current/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-ROWDESCRIPTION
388 Size int32
389 // Fallback indicates that the type is not supported by the pgtype package and is approximated to the `text` fallback type.
390 Fallback bool
391}
392

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected