Re: How to get trigger oid by trigger name

Поиск
Список
Период
Сортировка
От Satoshi Nagayasu
Тема Re: How to get trigger oid by trigger name
Дата
Msg-id 42637309.6030908@nttdata.co.jp
обсуждение исходный текст
Ответ на How to get trigger oid by trigger name  (rafaqat ali <rafaqat.ali@gmail.com>)
Список 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@postgresql.org so that your
>       message can get through to the mailing list cleanly
> 


-- 
NAGAYASU Satoshi <nagayasus@nttdata.co.jp>
OpenSource Development Center,
NTT DATA Corp. http://www.nttdata.co.jp/


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

Предыдущее
От: Ali Baba
Дата:
Сообщение: Adding column in pg_proc
Следующее
От: Rafaqat Ali
Дата:
Сообщение: