Re: [DOCS] OS/X startup scripts - Mailing list pgsql-patches

From Alvaro Herrera
Subject Re: [DOCS] OS/X startup scripts
Date
Msg-id 20070516160809.GW4582@alvh.no-ip.org
Whole thread Raw
In response to Re: [DOCS] OS/X startup scripts  (Michael Glaesemann <grzm@seespotcode.net>)
Responses Re: [DOCS] OS/X startup scripts  (Michael Glaesemann <grzm@seespotcode.net>)
List pgsql-patches
Michael Glaesemann wrote:
>
> On May 16, 2007, at 9:38 , Alvaro Herrera wrote:
>
> >That said, check this out:
> >
> >http://www.ubiobio.cl/~gpoo/pgsql/settings/
> >
> >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
> >the
> >docs, but I have posted the script in these lists before and got no
> >much
> >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.

pgsql-patches by date:

Previous
From: Michael Glaesemann
Date:
Subject: Re: [DOCS] OS/X startup scripts
Next
From: Alvaro Herrera
Date:
Subject: Re: [DOCS] Autovacuum and XID wraparound