pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: mohand oubelkacem makhoukhene <mohand-oubelkacem@outlook.com>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Implement a new data type
Date: Tue, 11 Aug 2020 06:39:10 -0700
Message-ID: <900ab380-739c-1ff2-73d2-46e8dce4388c@aklaver.com> (raw)
In-Reply-To: <PR3PR01MB69704C1002BC9916D3E11B58E0450@PR3PR01MB6970.eurprd01.prod.exchangelabs.com>
References: <PR3PR01MB69704C1002BC9916D3E11B58E0450@PR3PR01MB6970.eurprd01.prod.exchangelabs.com>

On 8/11/20 4:31 AM, mohand oubelkacem makhoukhene wrote:
> Hello;
> I whould like to implement a new data type next to char, number, 
> varchar... A Money type.

One that is different from the current one?:

https://www.postgresql.org/docs/12/datatype-money.html

> 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
> 
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (11+ messages)  latest in thread

Message-ID: <900ab380-739c-1ff2-73d2-46e8dce4388c@aklaver.com>
Permalink:  ../900ab380-739c-1ff2-73d2-46e8dce4388c@aklaver.com/
Also on:    postgresql.org/message-id/900ab380-739c-1ff2-73d2-46e8dce4388c@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, mohand-oubelkacem@outlook.com
  Subject: Re: Implement a new data type
  In-Reply-To: <900ab380-739c-1ff2-73d2-46e8dce4388c@aklaver.com>
  References: <PR3PR01MB69704C1002BC9916D3E11B58E0450@PR3PR01MB6970.eurprd01.prod.exchangelabs.com> <900ab380-739c-1ff2-73d2-46e8dce4388c@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox