From: | mark(at)mark(dot)mielke(dot)cc |
---|---|
To: | Mark Kirkwood <markir(at)paradise(dot)net(dot)nz> |
Cc: | "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: psql possible TODO |
Date: | 2006-12-06 06:17:30 |
Message-ID: | 20061206061730.GA2977@mark.mielke.cc |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, Dec 06, 2006 at 03:56:35PM +1300, Mark Kirkwood wrote:
> mark(at)mark(dot)mielke(dot)cc wrote:
> >You are saying that typing in 50 commands by hand, adjusting it each time,
> >is efficient?
> >
> >I've done what you are suggesting - I think - I do it with a file. I
> >type "psql -f <filename>". I run it as many times as required.
> >
> >Other times, I keep the 50 command lines in an XEmacs session, and I
> >cut + paste whole paragraphs from XEmacs to psql.
> >
> >By doing this - my work is saved.
> >
> >psql is not an editor session. It will never be an editor session. It
> >will always be a command line. Trying to treat it as an editor session
> >sounds like torture. Augh. :-)
>
> FWIW I tend to use a similar method to this - 'cept the editor is
> usually vim instead of emacs...err..oh dear, emacs vs vi here we come...:-).
Oh no no no...
XEmacs and VIM are both better than command line for anything longer than
a few lines...
Editor? Command line. Hmm... Let me think which will be most productive
for 50 statements that are similar... :-)
Cheers,
mark
--
mark(at)mielke(dot)cc / markm(at)ncf(dot)ca / markm(at)nortel(dot)com __________________________
. . _ ._ . . .__ . . ._. .__ . . . .__ | Neighbourhood Coder
|\/| |_| |_| |/ |_ |\/| | |_ | |/ |_ |
| | | | | \ | \ |__ . | | .|. |__ |__ | \ |__ | Ottawa, Ontario, Canada
One ring to rule them all, one ring to find them, one ring to bring them all
and in the darkness bind them...
From | Date | Subject | |
---|---|---|---|
Next Message | mark | 2006-12-06 06:19:25 | Re: psql possible TODO |
Previous Message | Tom Lane | 2006-12-06 05:33:59 | Re: psql possible TODO |