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: Wed, 30 Nov 2005 10:40:42 +0530 (IST)
- Message-id: <Pine(dot)LNX(dot)4(dot)63(dot)0511301034110(dot)2691(at)akash(dot)it(dot)iitb(dot)ac(dot)in>
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 |
------------------
Home |
Main Index |
Thread Index