Thread: Implement a new data type

Implement a new data type

From
mohand oubelkacem makhoukhene
Date:
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

Aw: Implement a new data type

From
Karsten Hilbert
Date:
> If I want to create a new type Person (firstname varchar, lastname varchar, address varchar ...)
> what is the best way to procede in Postgresql
 
The best way is to re-evaluate the "I want".

Karsten