Re: Only target lines of text - Mailing list pgsql-sql

From Rob Sargent
Subject Re: Only target lines of text
Date
Msg-id e3db3594-fa64-4f24-9b53-268dfa3cd60a@gmail.com
Whole thread Raw
In response to Only target lines of text  (Michael Moore <michaeljmoore@gmail.com>)
List pgsql-sql
On 11/14/2016 06:19 PM, Michael Moore wrote:
> how can I change this so that it only shows me the lines of text 
> containing the matching string?
>
> SELECT
>  proname AS functionname,
>  prosrc AS source
> FROM
>   pg_proc
> WHERE
>   prosrc ~* 'ypoi_db';
>
> Thanks,
> Mike
>
>
substring with regexp captures.



pgsql-sql by date:

Previous
From: Michael Moore
Date:
Subject: Only target lines of text
Next
From: Tom Lane
Date:
Subject: Re: Only target lines of text