Re: psql possible TODO - Mailing list pgsql-hackers

From Mark Kirkwood
Subject Re: psql possible TODO
Date
Msg-id 45763163.9040108@paradise.net.nz
Whole thread Raw
In response to Re: psql possible TODO  (mark@mark.mielke.cc)
Responses Re: psql possible TODO  (mark@mark.mielke.cc)
List pgsql-hackers
mark@mark.mielke.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...:-).

Cheers

Mark


pgsql-hackers by date:

Previous
From: mark@mark.mielke.cc
Date:
Subject: Re: psql possible TODO
Next
From: Tom Lane
Date:
Subject: Re: 8.2 CVS checkout hangs?