Yeb Havinga <yebhavinga@xxxxxxxxx> writes: > Carsten Kropf wrote: >> I wanted to add a new type that supports modifiers (comparable to >> numeric/varchar). > You need to add a cast from the type to itself, e.g. The CREATE CAST reference page has the gory details here. regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general