From: | Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Robert Haas <robertmhaas(at)gmail(dot)com>, Vaibhav Kaushal <vaibhavkaushal123(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Fwd: What do these terms mean in the SOURCE CODE? |
Date: | 2010-11-20 21:19:28 |
Message-ID: | m2bp5jlmlb.fsf@2ndQuadrant.fr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
> Here's my single biggest tip for newcomers to the Postgres source:
> if you don't use ctags, glimpse, or some other tool that can quickly
> show you all references to a given identifier, go out and get one.
> It's one of the easiest ways to learn about things.
I've been using cscope (out of advice from Joshua Tolley), and even
better its integration into Emacs which is called xcscope.el --- I
wouldn't have been able to come up with the extension patch series
without that.
http://cscope.sourceforge.net/
And as a quick teaser, the keys I mostly use:
C-c s d cscope-find-global-definition
C-c s s cscope-find-this-symbol
C-c s f cscope-find-this-file
C-c s I cscope-index-files
Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2010-11-20 23:07:56 | Re: duplicate connection failure messages |
Previous Message | Yeb Havinga | 2010-11-20 21:13:17 | Re: Fix for seg picksplit function |