Skip to content

Instantly share code, notes, and snippets.

@justinfay
Created July 11, 2018 09:05
Show Gist options
  • Save justinfay/6ff6cbb524cd72e3791f6c6ae51766ca to your computer and use it in GitHub Desktop.
Save justinfay/6ff6cbb524cd72e3791f6c6ae51766ca to your computer and use it in GitHub Desktop.
select prosrc from pg_trigger,pg_proc where
pg_proc.oid=pg_trigger.tgfoid
and pg_trigger.tgname = '<name>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment