Search Postgresql Archives

Re: How do I find a trigger function that is raising notices?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx]
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@xxxxxxxxxxx> 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>%';


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux