Re: array in a store procedure in C - Mailing list pgsql-general

From Jim Nasby
Subject Re: array in a store procedure in C
Date
Msg-id 54D14990.7050808@BlueTreble.com
Whole thread Raw
In response to Re: array in a store procedure in C  (<Holger.Friedrich-Fa-Trivadis@it.nrw.de>)
List pgsql-general
On 2/3/15 7:03 AM, Holger.Friedrich-Fa-Trivadis@it.nrw.de wrote:
> 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
whenyou 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...

Because I have multiple checkouts, and I don't always use the full tree
to search. It's a lot faster to only search the include directory, for
example.
--
Jim Nasby, Data Architect, Blue Treble Consulting
Data in Trouble? Get it in Treble! http://BlueTreble.com


pgsql-general by date:

Previous
From: Bill Moran
Date:
Subject: Re: VACUUM FULL pg_largeobject without (much) downtime?
Next
From: BladeOfLight16
Date:
Subject: Re: oracle to postgres