Implement a new data type

From: mohand oubelkacem makhoukhene <mohand-oubelkacem(at)outlook(dot)com>
To: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Implement a new data type
Date: 2020-09-04 10:45:21
Message-ID: PR3PR01MB69703809E71AAA94ACE9731AE02D0@PR3PR01MB6970.eurprd01.prod.exchangelabs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Karsten Hilbert 2020-09-04 10:59:04 Aw: Implement a new data type
Previous Message Alban Hertroys 2020-09-04 08:41:16 Re: How to enumerate partitions from a window function?