| Copyright | (c) 2013 Leon P Smith |
|---|---|
| License | BSD3 |
| Safe Haskell | None |
| Language | Haskell2010 |
Preql.Wire.TypeInfo.Types
Description
Synopsis
- data TypeInfo
- = Basic {
- typoid :: !Oid
- typcategory :: !Char
- typdelim :: !Char
- typname :: !ByteString
- | Array {
- typoid :: !Oid
- typcategory :: !Char
- typdelim :: !Char
- typname :: !ByteString
- typelem :: !TypeInfo
- | Range {
- typoid :: !Oid
- typcategory :: !Char
- typdelim :: !Char
- typname :: !ByteString
- rngsubtype :: !TypeInfo
- | Composite {
- typoid :: !Oid
- typcategory :: !Char
- typdelim :: !Char
- typname :: !ByteString
- typrelid :: !Oid
- attributes :: !(Vector Attribute)
- = Basic {
- data Attribute = Attribute {
- attname :: !ByteString
- atttype :: !TypeInfo
Documentation
A structure representing some of the metadata regarding a PostgreSQL
type, mostly taken from the pg_type table.
Constructors
| Basic | |
Fields
| |
| Array | |
Fields
| |
| Range | |
Fields
| |
| Composite | |
Fields
| |