Michael Glaesemann wrote:
> On May 16, 2007, at 9:38 , Alvaro Herrera wrote:
> >That said, check this out:
> >Sadly, usage instructions are in spanish only currently, but I claim
> >that this script is extremely useful for Pg development (sure, I wrote
> >it and tailored to my needs). If there is interest I can translate
> >docs, but I have posted the script in these lists before and got no
> >of an interest. Michael Glaesemann did find it useful when I
> >showed it
> >to him in the summit, though.
> Ooo! Nifty! I'll have to check out what's changed. I still use this
> script. I find it very helpful. I can post my tweaks as well, if
> there's interest.
Yes, there is.
The one thing I did not keep was the stuff about the env vars, because
it didn't suit me to be copying and pasting them with the mouse. To
solve the autocompletion problem you had that prompted you to tweak it,
what I do is
runpg 00<tab> ` Ctrl-A ` <enter>
so the autocompletion works because the first work is "runpg" and not
the single quote, and I enter the initial quote when the command has
been completed (Ctrl-A moves to the start of the line).
I can't remember if I dropped something else.
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.
---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend