Adding Functionality - Mailing list pgsql-general

From Fernando Alonso Renault
Subject Adding Functionality
Date
Msg-id 20040218164939.4D731183E0@smtp.latinmail.com
Whole thread Raw
Responses Re: Adding Functionality
Re: Adding Functionality
List pgsql-general
Hello,

i'm quite a newbie using postgres 7.2 so this may be an easy question, but how do i add new funtionality? I mean, i
wannaadd a couple of new functions, and i've found this files, pg_proc.h and fmgrtab.c, but i don't know the meaning of
thefields, so i can't add anything. 

For instance, in fmgrtab.c:

{ 61, "chareq", 2, true, false, chareq }

i know 61 is like the port or id for the function, "chareq" and chareq the name, but what about the 2, the true and the
false?could be that 2 is the number of arguments? 

And in pg_proc.h

DATA(insert OID =  61 (  chareq    PGUID 12 f t t t 2 f 16 "18 18" 100 0 0 100    chareq - ))

what's the meaning of those f's?

Thank you very much!

http://webmail.wanadoo.es. Tu correo gratuito, rápido y en español

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Differences between postgres and mysql
Next
From: Mike Nolan
Date:
Subject: Re: Differences between postgres and mysql