Implement a new data type

From: mohand oubelkacem makhoukhene <mohand-oubelkacem(at)outlook(dot)com>
To: Postgres General <pgsql-general(at)postgresql(dot)org>, "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Implement a new data type
Date: 2020-08-13 10:25:45
Message-ID: PR3PR01MB69702C50F8C5C55F5E8B2347E0430@PR3PR01MB6970.eurprd01.prod.exchangelabs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-general by date

  From Date Subject
Next Message Saurav Sarkar 2020-08-13 11:40:53 Case insensitive query on existing data
Previous Message Tom Lane 2020-08-13 00:06:24 Re: hash joins are causing no space left error