Re: track functions call

From: Cédric Villemain <cedric(dot)villemain(dot)debian(at)gmail(dot)com>
To: Mark <Marek(dot)Balgar(at)seznam(dot)cz>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: track functions call
Date: 2011-05-10 18:55:05
Message-ID: BANLkTiky=XyEO-F_+JcVKy8pCBhVQHRHSQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2011/5/10 Mark <Marek(dot)Balgar(at)seznam(dot)cz>:
> Is there in PostgreSQL posibility to track which function in C file is called
> by postgres functions. For example I would like to see which functions are
> calling in ts_rank.

select proname,prosrc from pg_proc where proname = 'ts_rank';
proname | prosrc
---------+--------------
ts_rank | ts_rank_wttf
ts_rank | ts_rank_wtt
ts_rank | ts_rank_ttf
ts_rank | ts_rank_tt

The same table contain list of arg type and return type, etc...

> Thanks for reply
> Mark
>
> --
> View this message in context: http://postgresql.1045698.n5.nabble.com/track-functions-call-tp4384220p4384220.html
> Sent from the PostgreSQL - general mailing list archive at Nabble.com.
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

--
Cédric Villemain               2ndQuadrant
http://2ndQuadrant.fr/     PostgreSQL : Expertise, Formation et Support

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mark 2011-05-10 19:20:05 Re: track functions call
Previous Message Mark 2011-05-10 18:53:54 ts_rank vs ts_rank_cd