
HI all,

Sorry to interrupt your busy list.

I was wondering if you could recomend a good source code db/indexer that
could be used to search through the postgresql code?

Thanks,

-- 
Laurette Cisneros
The Database Group
(510) 420-3137
NextBus Information Systems, Inc.
www.nextbus.com
----------------------------------
A wiki we will go...


Fri, 30 Aug 2002 11:57:17 -0700 (PDT)
Laurette Cisneros <laurette@nextbus.com>
source code indexer
Laurette Cisneros wrote:
> HI all,
> 
> Sorry to interrupt your busy list.
> 
> I was wondering if you could recomend a good source code db/indexer that
> could be used to search through the postgresql code?

I think the real pros use grep and emacs ;-)

But for us mere mortals, I find LXR very useful. I have set one up for 
my own use -- it gets rebuilt from cvs nightly. If you are interested see:

   https://www.joeconway.com/lxr.pgsql/

use login name "lxr" and password "pglxr" (without the quotes)

HTH,

Joe


Fri, 30 Aug 2002 12:16:14 -0700
Joe Conway <mail@joeconway.com>
Re: source code indexer
Laurette Cisneros dijo: 

Hi,

> I was wondering if you could recomend a good source code db/indexer that
> could be used to search through the postgresql code?

Some people here use something called glimpse AFAIR.  I don't even know
it.

-- 
Alvaro Herrera (<alvherre[a]atentus.com>)
Officer Krupke, what are we to do?
Gee, officer Krupke, Krup you! (West Side Story, "Gee, Officer Krupke")


Fri, 30 Aug 2002 15:16:25 -0400 (CLT)
Alvaro Herrera <alvherre@atentus.com>
Re: source code indexer
Ah.  Great!  I had download lxr and was starting to dig in to insatall it
and thought I would check with the pgers to see what they recommended.
Glad to see someone has done this.

Thanks,

L.
On Fri, 30 Aug 2002, Joe Conway wrote:

> Laurette Cisneros wrote:
> > HI all,
> > 
> > Sorry to interrupt your busy list.
> > 
> > I was wondering if you could recomend a good source code db/indexer that
> > could be used to search through the postgresql code?
> 
> I think the real pros use grep and emacs ;-)
> 
> But for us mere mortals, I find LXR very useful. I have set one up for 
> my own use -- it gets rebuilt from cvs nightly. If you are interested see:
> 
>    https://www.joeconway.com/lxr.pgsql/
> 
> use login name "lxr" and password "pglxr" (without the quotes)
> 
> HTH,
> 
> Joe
> 

-- 
Laurette Cisneros
The Database Group
(510) 420-3137
NextBus Information Systems, Inc.
www.nextbus.com
----------------------------------
A wiki we will go...


Fri, 30 Aug 2002 12:21:30 -0700 (PDT)
Laurette Cisneros <laurette@nextbus.com>
Re: source code indexer
On Fri, 30 Aug 2002 11:57:17 -0700 (PDT), Laurette Cisneros
<laurette@nextbus.com> wrote:
>I was wondering if you could recomend a good source code db/indexer that
>could be used to search through the postgresql code?

I use Source Navigator v5.1 http://sourceforge.net/projects/sourcenav/

Servus
 Manfred

Fri, 30 Aug 2002 21:28:18 +0200
Manfred Koizar <mkoi-pg@aon.at>
Re: source code indexer
On Fri, 30 Aug 2002, Laurette Cisneros wrote:

> 
> HI all,
> 
> Sorry to interrupt your busy list.
> 
> I was wondering if you could recomend a good source code db/indexer that
> could be used to search through the postgresql code?

I think I must be one of those 'old school' types. I use

	find <somedir> <some spec.> | xargs grep

often followed by tags in Emacs.

It isn't perfect but then I'm not either.


-- 
Nigel J. Andrews
Director

---
Logictree Systems Limited
Computer Consultants


Fri, 30 Aug 2002 23:47:37 +0100 (BST)
"Nigel J. Andrews" <nandrews@investsystems.co.uk>
Re: source code indexer
Nigel J. Andrews wrote:
> On Fri, 30 Aug 2002, Laurette Cisneros wrote:
> 
> > 
> > HI all,
> > 
> > Sorry to interrupt your busy list.
> > 
> > I was wondering if you could recommend a good source code db/indexer that
> > could be used to search through the postgresql code?
> 
> I think I must be one of those 'old school' types. I use
> 
> 	find <somedir> <some spec.> | xargs grep
> 
> often followed by tags in Emacs.
> 
> It isn't perfect but then I'm not either.

I use a commercial editor called Crisp, which is unfortunately a
commercial product.  It runs on almost any platform:

	ftp://207.106.42.251/pub/crisp.gif

I have found several editor features a great help in PostgreSQL
development:

	programmable macro language
	keyboard record/playback
	colorization
	list of functions in the file
	tags jump to function definition
	cross-reference listings

They are not a big deal when you are making localized changes.  In fact,
I just used a character-mode editor for those, but when I have to
analyze the code or make massive changes, those features make it easier.

The screenshot I listed has the functions listed on the left, the
cross-reference information at the bottom, and a colorized main editor
window.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Sat, 31 Aug 2002 14:55:03 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: source code indexer
On Fri, 30 Aug 2002, Nigel J. Andrews wrote:

> I think I must be one of those 'old school' types. I use
>
> 	find <somedir> <some spec.> | xargs grep
>
> often followed by tags in Emacs.

You might find that Gnu id-tools is a much faster way of
doing this, especially for large amounts of source code.

cjs
-- 
Curt Sampson  <cjs@cynic.net>   +81 90 7737 2974   http://www.netbsd.org
    Don't you know, in this new Dark Age, we're all light.  --XTC


Mon, 2 Sep 2002 13:52:10 +0900 (JST)
Curt Sampson <cjs@cynic.net>
Re: source code indexer
Thanks to everyone who made suggestions.
 
I have found Source Navigator to be very close and useful for what I was 
looking for!
 
Thanks again,
 
L.
On Fri, 30 Aug 2002, Manfred Koizar wrote:

> On Fri, 30 Aug 2002 11:57:17 -0700 (PDT), Laurette Cisneros
> <laurette@nextbus.com> wrote:
> >I was wondering if you could recomend a good source code db/indexer that
> >could be used to search through the postgresql code?
> 
> I use Source Navigator v5.1 http://sourceforge.net/projects/sourcenav/
> 
> Servus
>  Manfred
> 

-- 
Laurette Cisneros
The Database Group
(510) 420-3137
NextBus Information Systems, Inc.
www.nextbus.com
----------------------------------
A wiki we will go...


Tue, 3 Sep 2002 16:33:04 -0700 (PDT)
Laurette Cisneros <laurette@nextbus.com>
Re: source code indexer