How postgres find OID of function from opclassoid

Поиск
Список
Период
Сортировка
От sandeep satpal
Тема How postgres find OID of function from opclassoid
Дата
Msg-id Pine.LNX.4.63.0511091620000.8032@akash.it.iitb.ac.in
обсуждение исходный текст
Ответ на Re: Exclusive lock for database rename  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-hackers
Hi,

In function IndexSupportInitialize,  for each attribute , we call a 
function LookUpOpClassInfo(...) and then we find opcentry object which 
contain supportProcs pointer which contain the Oid of the function to be 
called at the run time.
I am not getting How to find out that Oid from attribute type information.
It represent every data type of attribute by some number in opindclass 
structure of iform ,
for eg. varvhar() is represent by  2003    int is represent by 1978    ......

Please tell me how to find Oid from opindclass information.

Thanx and regards,
sandeep


-- 
------------------
| Sandeep Satpal |
| M.Tech Student |
| Lab 212 KReSIT |
------------------


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

Предыдущее
От: ITAGAKI Takahiro
Дата:
Сообщение: Optimization of the alignment padding
Следующее
От: Jaime Casanova
Дата:
Сообщение: Re: plperl error when making 8.2dev CVS