Call to build-in operator from new operator

Поиск
Список
Период
Сортировка
От Kim Bille
Тема Call to build-in operator from new operator
Дата
Msg-id a9611f0005041805343157e9dd@mail.gmail.com
обсуждение исходный текст
Ответы Re: Call to build-in operator from new operator  (Sailesh Krishnamurthy <sailesh@cs.berkeley.edu>)
Список pgsql-hackers
Greetings,<br /><br /> I don't really know if this is the correct place to ask this question, if not please direct me
tothe correct mailing list.<br /><br /> I'm trying to develop a new operator for PostGreSQL (actually for TelegraphCQ,
whichis an extension of PSQL). Part of the operator's procedure is the @-operator. So now my question is: How do I call
theon_pb function from inside my own function?.<br /> The on_pb of course takes the argument 'PG_FUNCTION_ARGS' which
isdefined in fmgr.h as 'FunctionCallInfo fcinfo' which is defined as pointer to<br /> 'struct FunctionCallInfoData', so
myquestion boils down to:<br /><br /> What do I put into this struct to call 'on_pb' with two arguments from the call
tomy function?<br /><br /><br /> Further, is there a way to access data in tables in the database other than those
givenas arguments to the function? And how?<br /><br />Sincerely<br /> Kim Bille<br /> Department of Computer
Science<br/> Aalborg University<br /> Denmark<br /><br />-- <br />"Mind are like parachutes --- they only work when
open" 

В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Chuck McDevitt"
Дата:
Сообщение: Re: argtype_inherit() is dead code
Следующее
От: Christopher Browne
Дата:
Сообщение: Re: Urgent