Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group