Re:

From: Craig Ringer <craig(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Rajashree Mandaogane <rajashree(dot)28m(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re:
Date: 2014-03-21 01:56:15
Message-ID: 532B9C3F.3050309@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 03/21/2014 01:12 AM, Tom Lane wrote:
> Rajashree Mandaogane <rajashree(dot)28m(at)gmail(dot)com> writes:
>> While debugging any function in PostgreSQL, whenever I use the command
>> 'bt', it doesn't give the entire list of functions used. Which command
>> should be used instead?
>
> It's probably omitting functions that have been inlined; if so, the "fix"
> is to recompile with a lower -O level to prevent inlining.

For more details, see
https://wiki.postgresql.org/wiki/Developer_FAQ#What_debugging_features_are_available.3F
.

If you want to completely prevent inlining you can use -O0 instead of -Og .

--
Craig Ringer http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

  • Re: at 2014-03-20 17:12:17 from Tom Lane

Browse pgsql-hackers by date

  From Date Subject
Next Message Craig Ringer 2014-03-21 02:26:47 Re: QSoC proposal: Rewrite pg_dump and pg_restore
Previous Message Robert Haas 2014-03-21 01:28:13 Re: QSoC proposal: Rewrite pg_dump and pg_restore