Search Postgresql Archives

Re: array in a store procedure in C

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

 



On Tuesday, February 03, 2015 3:58 AM, Jim Nasby wrote:
> Note that the recursive grep starts at the current directory, so make sure you're actually in the pgsql source code when you use it.

> cat ~/bin/pg_grep
> #!/bin/sh
>
> grep -r "$*" * | grep -iv TAGS: | grep -v 'Binary file' | grep -v '.deps/'

By the way, why not add a "cd" into the pgsql source tree to the script?  That way you can't forget it when using the script...


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general





[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