> I have some embedded spaces in data that should be stripped out.
>
> In the course of trying to find a way to do this, I found out some stuff:
>
> #1a
> \df would be a whole lot nicer if I could do:
>
> \df <type> and get only functions that have the given return type, or
> \df <string> it grepped all the lines for something matching string
>
Try:
echo "\df" | psql | grep <type>
or
echo "\df" | psql | grep <string>
I realize you want it inside the psql program, but the above should get the
same results pretty quick...james