Re: Generate call graphs in run-time
Kevin Grittner <kevin.grittner@wicourts.gov>
From: "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
To: "Joel Jacobson" <joel@gluefinance.com>, <pgsql-hackers@postgresql.org>
Date: 2012-01-09T21:46:46Z
Lists: pgsql-hackers
Joel Jacobson <joel@gluefinance.com> wrote: > The perl script pg_callgraph.pl replaces the oids with actual > function names before generating the call graphs using GraphVIz: Regardless of anything else, I think you need to allow for function overloading. You could cover that, I think, by replacing this literal in your perl script: "SELECT oid, proname FROM pg_proc" with this literal: "SELECT oid, oid::regprocedure::text FROM pg_proc" -Kevin