Adding Functionality

Поиск
Список
Период
Сортировка
От Fernando Alonso Renault
Тема Adding Functionality
Дата
Msg-id 20040218164939.4D731183E0@smtp.latinmail.com
обсуждение исходный текст
Ответы Re: Adding Functionality  (Martijn van Oosterhout <kleptog@svana.org>)
Re: Adding Functionality  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Differences between postgres and mysql
Следующее
От: Mike Nolan
Дата:
Сообщение: Re: Differences between postgres and mysql