Search in code

Started by Vitaly Belmanover 21 years ago2 messagesgeneral
Jump to latest
#1Vitaly Belman
vitalyb@gmail.com

In Oracle I was used to be able to search directly in code from SQL
Navigator (I'm not sure if it is a feature of the database or the
tool). It means that I could search if a certain string appears in one
of the functions (across different schemas/packages).

Is there some way to accomplish this in PostgreSQL?

--
ICQ: 1912453
AIM: VitalyB1984
MSN: tmdagent@hotmail.com
Yahoo!: VitalyBe

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Vitaly Belman (#1)
Re: Search in code

Vitaly Belman <vitalyb@gmail.com> writes:

In Oracle I was used to be able to search directly in code from SQL
Navigator (I'm not sure if it is a feature of the database or the
tool). It means that I could search if a certain string appears in one
of the functions (across different schemas/packages).

You mean something like

select proname, prosrc from pg_proc where prosrc ~ 'word';

? A little less polished than Oracle's tool, no doubt ...

regards, tom lane