From: | Satoshi Nagayasu <nagayasus(at)nttdata(dot)co(dot)jp> |
---|---|
To: | rafaqat ali <rafaqat(dot)ali(at)gmail(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: How to get trigger oid by trigger name |
Date: | 2005-04-18 08:42:49 |
Message-ID: | 42637309.6030908@nttdata.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
I'm using systable_beginscan() with TriggerConstrNameIndex
and systable_getnext().
BTW, which value are you using as the cacheId
when you call SearchSysCache() for pg_trigger?
I couldn't find a suitable value in syscache.h.
rafaqat ali wrote:
> Hello All
> Can any one tell me how can I get triggerOid from triggerName
> in c code. I first tried to use SearchSysCache Function but it does
> not search o the basis of triggername.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>
--
NAGAYASU Satoshi <nagayasus(at)nttdata(dot)co(dot)jp>
OpenSource Development Center,
NTT DATA Corp. http://www.nttdata.co.jp/
From | Date | Subject | |
---|---|---|---|
Next Message | Rafaqat Ali | 2005-04-18 09:26:36 | |
Previous Message | Ali Baba | 2005-04-18 08:30:12 | Adding column in pg_proc |