Search Postgresql Archives

Re: Trying to add a type modifier to user created type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks a lot so far, got it working with the cast. Probably the documentation about create type where the type modifiers are described should be extended in order to find that.
Thanks and regards
	Carsten Kropf
Am 18.02.2010 um 16:46 schrieb Tom Lane:

> 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


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux