How to add our functions in postgres

From: sandeep satpal <sandeep(at)it(dot)iitb(dot)ac(dot)in>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Martijn van Oosterhout <kleptog(at)svana(dot)org>
Subject: How to add our functions in postgres
Date: 2005-11-30 05:10:42
Message-ID: Pine.LNX.4.63.0511301034110.2691@akash.it.iitb.ac.in
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Hi,
I have to add a function in varlena.c named
btcasecmp(PG_FUNCTION_ARG) ,
so what other information I have to add in source.
I know little bit of it,
I have added that function in
src/backend/utils/fmgrtab.c and assign a new oid but when I installed that
function definition is not appearing in the table "pg_amproc",
So I want to know what other information I have to add so that I can call
my function using oid.

Thanks and regards,
Sandeep

--
------------------
| Sandeep Satpal |
| M.Tech Student |
| Lab 212 KReSIT |
------------------

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Martijn van Oosterhout 2005-11-30 06:11:15 Re: How to add our functions in postgres
Previous Message Andrew Dunstan 2005-11-30 04:45:18 Re: BIN()