Implement a new data type - Mailing list pgsql-general

From mohand oubelkacem makhoukhene
Subject Implement a new data type
Date
Msg-id PR3PR01MB69702C50F8C5C55F5E8B2347E0430@PR3PR01MB6970.eurprd01.prod.exchangelabs.com
Whole thread Raw
List pgsql-general
Hello

I would like to implement a new data type next to char, number, varchar... for example a special "Money" type, but
I don't want to use extensions and the Create type command.  I want to implement it directly inside source code,
because I want to implement my new type at lower level, in order to perform some more sophisticated functions after.
Just as an example,  help the optimizer in its decisions.
How should I proceed ? Is it an easy task ?

Thanks
Mohand

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: hash joins are causing no space left error
Next
From: Saurav Sarkar
Date:
Subject: Case insensitive query on existing data