On Tue, 2020-08-11 at 11:31 +0000, mohand oubelkacem makhoukhene wrote:
> I whould like to implement a new data type next to char, number, varchar... A 
> Money type. 
> So i'll have to change the source code, but i don't know which fonctions i 
> need to change and which part to work on.

You don't need to change the source, you could create an extension
using a shared library that can be loaded into the server at run time.

The documentation has more:
https://www.postgresql.org/docs/current/xfunc-c.html#XFUNC-C-BASETYPE
https://www.postgresql.org/docs/current/extend-extensions.html
https://www.postgresql.org/docs/current/extend-pgxs.html

Yours,
Laurenz Albe



Reply via email to