Index: doc/src/sgml/ref/create_domain.sgml =================================================================== RCS file: /projects/cvsroot/pgsql/doc/src/sgml/ref/create_domain.sgml,v retrieving revision 1.22 diff -c -r1.22 create_domain.sgml *** doc/src/sgml/ref/create_domain.sgml 2 May 2005 01:52:50 -0000 1.22 --- doc/src/sgml/ref/create_domain.sgml 9 Sep 2005 21:21:39 -0000 *************** *** 48,57 **** ! Domains are useful for abstracting common fields between tables into ! a single location for maintenance. For example, an email address column may be used ! in several tables, all with the same properties. Define a domain and ! use that rather than setting up each table's constraints individually. --- 48,60 ---- ! Domains are useful for abstracting common fields between tables ! into a single location for maintenance. For example, an email address ! column may be used in several tables, all with the same properties. ! Define a domain and use that rather than setting up each table's ! constraints individually. Keep in mind also that declaring a ! function result value as a domain is pretty dangerous, because none of ! the PLs enforce domain constraints on their results.