On Fri, Aug 16, 2013 at 8:01 AM, AI Rumman wrote:
> Why can't pg_get_triggerdef find the trigger using OID.
>
> testdb=# SELECT
> testdb-# p.oid,
> testdb-# n.nspname as "Schema",
> testdb-# p.proname as "Name",
> testdb-# pg_catalog.pg_get_function_result(p.oid) as "Result data type",
>
Why can't pg_get_triggerdef find the trigger using OID.
testdb=# SELECT
testdb-# p.oid,
testdb-# n.nspname as "Schema",
testdb-# p.proname as "Name",
testdb-# pg_catalog.pg_get_function_result(p.oid) as "Result data type",
testdb-# pg_catalog.pg_get_function_arguments(p.oid) as "Argument