Package skytools :: Module dbstruct
[frames] | no frames]

Module dbstruct

source code

Find table structure and allow CREATE/DROP elements from it.

Classes
  TableStruct
Collects and manages all info about table.
Variables
  T_TABLE = 1
  T_CONSTRAINT = 2
  T_INDEX = 4
  T_TRIGGER = 8
  T_RULE = 16
  T_GRANT = 32
  T_OWNER = 64
  T_PKEY = 1048576
  T_ALL = 127