Re: [HACKERS] CREATE TYPE with two args

2004-11-08 Thread Peter Eisentraut
Ameen - Etemady wrote: > I want to create a data type that have tow arguments in the > defenition, like the varchar type: This is not possible. -- Peter Eisentraut http://developer.postgresql.org/~petere/ ---(end of broadcast)--- TIP 4: Don't 'ki

[HACKERS] CREATE TYPE with two args

2004-11-08 Thread Ameen - Etemady
I want to create a data type that have tow arguments in the defenition, like the varchar type: create table mytmp(name varchar(10)); I like to do it like this: create table mytmp(name myvarchar(10,"en_US")); how can it be done by "CREATE TYPE" I want to implement the internal functions (compare,