> I guess, ideally it'd be > create type AddressType AS varchar(50) ; > but it does not work.
Only one keyword off. SQL calls this a domain. They're limited in 7.3, but much improved (not yet perfect) for 7.4. http://www.postgresql.org/docs/7.3/interactive/sql-createdomain.html
signature.asc
Description: This is a digitally signed message part