• Bruce Momjian's avatar
    Ok. Updated patch attached. · 01c76f74
    Bruce Momjian authored
    - domain.patch -> source patch against pgsql in cvs
    - drop_domain.sgml and create_domain.sgml -> New doc/src/sgml/ref docs
    
    - dominfo.txt -> basic domain related queries I used for testing
    [ ADDED TO /doc]
    
    Enables domains of array elements -> CREATE DOMAIN dom int4[3][2];
    
    Uses a typbasetype column to describe the origin of the domain.
    
    Copies data to attnotnull rather than processing in execMain().
    
    Some documentation differences from earlier.
    
    If this is approved, I'll start working on pg_dump, and a \dD <domain>
    option in psql, and regression tests.  I don't really feel like doing
    those until the system table structure settles for pg_type.
    
    
    CHECKS when added, will also be copied to to the table attributes.  FK
    Constraints (if I ever figure out how) will be done similarly.  Both
    will lbe handled by MergeDomainAttributes() which is called shortly
    before MergeAttributes().
    
    Rod Taylor
    01c76f74
keywords.c 8.67 KB