diff -rc pgsql.orig/doc/src/sgml/catalogs.sgml pgsqldomain/doc/src/sgml/catalogs.sgml *** pgsql.orig/doc/src/sgml/catalogs.sgml Thu Mar 7 11:35:32 2002 --- pgsqldomain/doc/src/sgml/catalogs.sgml Thu Mar 7 22:24:23 2002 *************** *** 2511,2516 **** --- 2511,2563 ---- + typbasetype + oid + + + typbasetype is the type that this one is based + off of. Normally references the domains parent type, and is 0 otherwise. + + + + + typnotnull + boolean + + + typnotnull represents a NOT NULL + constraint on a type. Normally used only for domains. + + + + + typmod + integer + + + typmod records type-specific data + supplied at table creation time (for example, the maximum + length of a varchar column). It is passed to + type-specific input and output functions as the third + argument. The value will generally be -1 for types that do not + need typmod. This data is copied to + pg_attribute.atttypmod on creation + of a table using a domain as it's field type. + + + + + typdefaultbin + text + + + typdefaultbin is NULL for types without a + default value. If it's not NULL, it contains the internal string + representation of the default expression node. + + + + typdefault text diff -rc pgsql.orig/doc/src/sgml/ref/allfiles.sgml pgsqldomain/doc/src/sgml/ref/allfiles.sgml *** pgsql.orig/doc/src/sgml/ref/allfiles.sgml Thu Mar 7 11:35:32 2002 --- pgsqldomain/doc/src/sgml/ref/allfiles.sgml Thu Mar 7 22:24:23 2002 *************** *** 52,57 **** --- 52,58 ---- + *************** *** 69,74 **** --- 70,76 ---- + diff -rc pgsql.orig/doc/src/sgml/ref/comment.sgml pgsqldomain/doc/src/sgml/ref/comment.sgml *** pgsql.orig/doc/src/sgml/ref/comment.sgml Thu Mar 7 11:35:33 2002 --- pgsqldomain/doc/src/sgml/ref/comment.sgml Thu Mar 7 22:24:23 2002 *************** *** 25,31 **** COMMENT ON [ ! [ DATABASE | INDEX | RULE | SEQUENCE | TABLE | TYPE | VIEW ] object_name | COLUMN table_name.column_name | AGGREGATE agg_name (agg_type) | FUNCTION func_name (arg1, arg2, ...) | --- 25,31 ---- COMMENT ON [ ! [ DATABASE | DOMAIN | INDEX | RULE | SEQUENCE | TABLE | TYPE | VIEW ] object_name | COLUMN table_name.column_name | AGGREGATE agg_name (agg_type) | FUNCTION func_name (arg1, arg2, ...) | *************** *** 33,39 **** TRIGGER trigger_name ON table_name ] IS 'text' ! 1999-10-25 --- 33,39 ---- TRIGGER trigger_name ON table_name ] IS 'text' ! 1999-10-25 *************** *** 64,70 **** ! 1998-09-08 --- 64,70 ---- ! 1998-09-08 *************** *** 99,105 **** COMMENT stores a comment about a database object. ! Comments can be easily retrieved with psql's \dd, \d+, or \l+ commands. Other user interfaces to retrieve comments can be built atop --- 99,105 ---- COMMENT stores a comment about a database object. ! Comments can be easily retrieved with psql's \dd, \d+, or \l+ commands. Other user interfaces to retrieve comments can be built atop *************** *** 141,146 **** --- 141,147 ---- COMMENT ON DATABASE my_database IS 'Development Database'; + COMMENT ON DOMAIN my_domain IS 'Domains are like abstracted fields'; COMMENT ON INDEX my_index IS 'Enforces uniqueness on employee id'; COMMENT ON RULE my_rule IS 'Logs UPDATES of employee records'; COMMENT ON SEQUENCE my_sequence IS 'Used to generate primary keys'; *************** *** 155,166 **** ! Compatibility ! 1998-09-08 --- 156,167 ---- ! Compatibility ! 1998-09-08 diff -rc pgsql.orig/doc/src/sgml/reference.sgml pgsqldomain/doc/src/sgml/reference.sgml *** pgsql.orig/doc/src/sgml/reference.sgml Thu Mar 7 11:35:32 2002 --- pgsqldomain/doc/src/sgml/reference.sgml Thu Mar 7 22:24:23 2002 *************** *** 61,66 **** --- 61,67 ---- &createAggregate; &createConstraint; &createDatabase; + &createDomain; &createFunction; &createGroup; &createIndex; *************** *** 78,83 **** --- 79,85 ---- &delete; &dropAggregate; &dropDatabase; + &dropDomain; &dropFunction; &dropGroup; &dropIndex; *************** *** 115,121 **** &unlisten; &update; &vacuum; !