Implement a new data type

2020-09-04 Thread mohand oubelkacem makhoukhene
Hello, If I want to create a new type Person (firstname varchar, lastname varchar, address varchar ...) what is the best way to procede in Postgresql Create type or create extension ? What are advantages /disadvantages of both solutions ? Thank you and best regards Mohand

Implement a new data type

2020-08-13 Thread mohand oubelkacem makhoukhene
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 ord

Implement a new data type

2020-08-11 Thread mohand oubelkacem makhoukhene
Hello; 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. I need some help to implement this new data type. Thank you and best regards Mohand