본문 바로가기

내가 당면한 문제와 해결방안

postgresql trigger retrieve

이미 만들어진 postgresql event trigger 확인

 

\dS <tablename>

트리거 조회

 

select pg_get_functiondef('functionname'::regproc);

 

이벤트시에 트리거로 실행되는 함수 상세 조회

 


참고 

https://serverfault.com/questions/331024/how-can-i-show-the-content-of-a-trigger-with-psql