Finding Triggers or Functions
Finding Triggers or Functions
(OP)
Hey,
I am working on a database that is developed on by many people and mostly matained by some people that it takes me a while to get in touch with. The thing is, I come across triggers that are firing or functions that are used in the code (perl) and I dont' know where to find the sql code for them? Or how I can modify them? I was thinking along the lines of the \d table_name command, which gives me a description of the table (I use the psql client application to interact with postgresql). Any suggestions?
Thanks
I am working on a database that is developed on by many people and mostly matained by some people that it takes me a while to get in touch with. The thing is, I come across triggers that are firing or functions that are used in the code (perl) and I dont' know where to find the sql code for them? Or how I can modify them? I was thinking along the lines of the \d table_name command, which gives me a description of the table (I use the psql client application to interact with postgresql). Any suggestions?
Thanks
RE: Finding Triggers or Functions
the other way (not that i'm sure, that it's the only one) is dealing with pg_proc, pg_trigger system tables, but it's not that easy