Re: Generate call graphs in run-time

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Joel Jacobson" <joel(at)gluefinance(dot)com>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Generate call graphs in run-time
Date: 2012-01-09 21:46:46
Message-ID: 4F0B0BE60200002500044618@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Joel Jacobson <joel(at)gluefinance(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Paul Guyot 2012-01-09 23:18:59 Buffer overflow in contrib/test_parser/test_parser.c
Previous Message Andrew Dunstan 2012-01-09 20:47:22 intermittent ECPG regression failure on Windows 7