Re: How do I find a trigger function that is raising notices? - Mailing list pgsql-general

From Rob Richardson
Subject Re: How do I find a trigger function that is raising notices?
Date
Msg-id 67D108EDFAD3C148A593E6ED7DCB4BBDC3FB2DDE@RADCONWIN2K8PDC.radcon.local
Whole thread Raw
In response to Re: How do I find a trigger function that is raising notices?  (bricklen <bricklen@gmail.com>)
List pgsql-general

Thanks very much.  I was searching for a string containing an upper-case letter without remembering that I used lower().  And your suggestion of ilike is much better than like here.

 

RobR

 

From: bricklen [mailto:bricklen@gmail.com]
Sent: Thursday, September 26, 2013 12:05 PM
To: Rob Richardson
Cc: pgsql-general
Subject: Re: [GENERAL] How do I find a trigger function that is raising notices?

 

 

On Thu, Sep 26, 2013 at 9:04 AM, Rob Richardson <RDRichardson@rad-con.com> wrote:

Select * from pg_proc where lower(prosrc) = '%<target_string>%'

 

A slight revision should work:

select distinct proname from pg_proc where prosrc ilike '%<target_string>%';

pgsql-general by date:

Previous
From: Craig Boyd
Date:
Subject: Blowfish Encrypted String
Next
From: Dmitriy Igrishin
Date:
Subject: Re: Blowfish Encrypted String