write a new built in type

From: Gaetano Mendola <mendola(at)bigfoot(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: write a new built in type
Date: 2004-05-08 00:15:59
Message-ID: c7h8sb$n1m$1@floppy.pyrenet.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi all,
I with to write a new builtin type, I seen that what I have to do is:

1) ad on pgsql/src/include/utils/builtins.h
the signature for my function that will manipulate my
type

2) ad on pgsql/src/backend/utils/adt
a new file my_type.c
with the implementation of all function inserted in the file
at point 1

and what else ? For example how may I define the name for my new type ?

Regards
Gaetano Mendola

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 2004-05-08 02:30:09 Re: PostgreSQL pre-fork speedup
Previous Message Andrew Dunstan 2004-05-07 21:37:20 Re: psql 7.3.4 disagrees with NATURAL CROSS JOIN