← All compilation units

Flyology.Postgres.Types

Description

Alignment

function Alignment (Item : Type_Descriptor) return Alignment_Kind
Parameters
Item
Return value

Alignment_Kind

type Alignment_Kind is
  (Character_Alignment,
   Short_Alignment,
   Integer_Alignment,
   Double_Alignment,
   Platform_Alignment);
Enumeration literals
Character_Alignment
Short_Alignment
Integer_Alignment
Double_Alignment
Platform_Alignment

Array_Type_OID

function Array_Type_OID (Item : Type_Descriptor) return OID
Parameters
Item
Return value

Category

function Category (Item : Type_Descriptor) return Type_Category
Parameters
Item
Return value

Element_Type_OID

function Element_Type_OID (Item : Type_Descriptor) return OID
Parameters
Item
Return value

Fixed_Size

function Fixed_Size (Item : Type_Descriptor) return Natural
Parameters
Item
Return value

Is_Known

function Is_Known (Item : Type_Descriptor) return Boolean
Parameters
Item
Return value

Is_Preferred

function Is_Preferred (Item : Type_Descriptor) return Boolean
Parameters
Item
Return value

Kind

function Kind (Item : Type_Descriptor) return Type_Kind
Parameters
Item
Return value

Length_Form

function Length_Form (Item : Type_Descriptor) return Length_Kind
Parameters
Item
Return value

Length_Kind

type Length_Kind is
  (Fixed_Length, Variable_Length, Null_Terminated, Platform_Length);
Enumeration literals
Fixed_Length
Variable_Length
Null_Terminated
Platform_Length

Lookup

function Lookup
  (Version : SQL.Major_Version; Value : OID) return Type_Descriptor
Parameters
Version
Value
Return value

Lookup

function Lookup
  (Version : SQL.Major_Version; Name : String) return Type_Descriptor
Parameters
Version
Name
Return value

No_OID

No_OID : constant OID := 0;

OID

subtype OID is Interfaces.Unsigned_32;

Passing

function Passing (Item : Type_Descriptor) return Passing_Kind
Parameters
Item
Return value

Passing_Kind

type Passing_Kind is
  (By_Reference, By_Value, Platform_Dependent_Passing);
Enumeration literals
By_Reference
By_Value
Platform_Dependent_Passing

SQL_Name

function SQL_Name (Item : Type_Descriptor) return String
Parameters
Item
Return value

Storage

function Storage (Item : Type_Descriptor) return Storage_Kind
Parameters
Item
Return value

Storage_Kind

type Storage_Kind is
  (Plain_Storage, External_Storage, Extended_Storage, Main_Storage);
Enumeration literals
Plain_Storage
External_Storage
Extended_Storage
Main_Storage

Type_Category

type Type_Category is
  (Array_Category,
   Boolean_Category,
   Composite_Category,
   Date_Time_Category,
   Enum_Category,
   Geometric_Category,
   Network_Category,
   Numeric_Category,
   …,
   Internal_Category);
Enumeration literals
Array_Category
Boolean_Category
Composite_Category
Date_Time_Category
Enum_Category
Geometric_Category
Network_Category
Numeric_Category
Pseudo_Category
Range_Category
String_Category
Time_Span_Category
User_Category
Bit_String_Category
Unknown_Category
Internal_Category

Type_Descriptor

type Type_Descriptor is private;

Type_Kind

type Type_Kind is
  (Base_Type,
   Composite_Type,
   Domain_Type,
   Enum_Type,
   Multirange_Type,
   Pseudo_Type,
   Range_Type);
Enumeration literals
Base_Type
Composite_Type
Domain_Type
Enum_Type
Multirange_Type
Pseudo_Type
Range_Type

Type_OID

function Type_OID (Item : Type_Descriptor) return OID
Parameters
Item
Return value

Unknown_Type

Unknown_Type : constant Type_Descriptor;