postgresql-simple-0.4.4.1: Mid-Level PostgreSQL client library

Stabilityexperimental
MaintainerLeon P Smith <leon@melding-monads.com>
Safe HaskellNone

Database.PostgreSQL.Simple.TypeInfo.Static

Description

This module contains portions of the pg_type table that are relevant to postgresql-simple and are believed to not change between PostgreSQL versions.

Synopsis

Documentation

data TypeInfo Source

A structure representing some of the metadata regarding a PostgreSQL type, mostly taken from the pg_type table.

Constructors

Basic 

Fields

typoid :: !Oid
 
typcategory :: !Char
 
typdelim :: !Char
 
typname :: !ByteString
 
Array 

Fields

typoid :: !Oid
 
typcategory :: !Char
 
typdelim :: !Char
 
typname :: !ByteString
 
typelem :: !TypeInfo
 
Range 

Fields

typoid :: !Oid
 
typcategory :: !Char
 
typdelim :: !Char
 
typname :: !ByteString
 
rngsubtype :: !TypeInfo
 
Composite 

Fields

typoid :: !Oid
 
typcategory :: !Char
 
typdelim :: !Char
 
typname :: !ByteString
 
typrelid :: !Oid
 
attributes :: !(Vector Attribute)
 

Instances

Show TypeInfo