Implement a new data type

Started by mohand oubelkacem makhoukheneover 5 years ago2 messagesgeneral
Jump to latest
#1mohand oubelkacem makhoukhene
mohand-oubelkacem@outlook.com

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

#2Karsten Hilbert
Karsten.Hilbert@gmx.net
In reply to: mohand oubelkacem makhoukhene (#1)
Aw: Implement a new data type

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