| From: | sandeep satpal <sandeep(at)it(dot)iitb(dot)ac(dot)in> |
|---|---|
| To: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | How postgres find OID of function from opclassoid |
| Date: | 2005-11-09 10:55:51 |
| Message-ID: | Pine.LNX.4.63.0511091620000.8032@akash.it.iitb.ac.in |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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 |
------------------
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jaime Casanova | 2005-11-09 12:41:11 | Re: plperl error when making 8.2dev CVS |
| Previous Message | Petr Jelinek | 2005-11-09 09:47:30 | Re: compiling on windows with mingw |