Thread: Search feature request

Search feature request

From
Michael Shapiro
Date:
I know that PgAdmin has the ability to find a pattern in various object names.

Can PgAdmin search the actual text of procedures to find a pattern as well.

For example, if I have a procedure named get_login, and it has a select that looks like

   select person_id from logins ....

and I search for "person_id", can PgAdmin find this within the get_login procedure?

Re: Search feature request

From
Guillaume Lelarge
Date:
On Wed, 2014-03-05 at 07:40 -0600, Michael Shapiro wrote:
> I know that PgAdmin has the ability to find a pattern in various object
> names.
> 
> Can PgAdmin search the actual text of procedures to find a pattern as well.
> 
> For example, if I have a procedure named get_login, and it has a select
> that looks like
> 
>    select person_id from logins ....
> 
> and I search for "person_id", can PgAdmin find this within the get_login
> procedure?

Nope, it doesn't work like that. But a patch might help to get it do
that.


-- 
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com