Re: psql possible TODO
От | mark@mark.mielke.cc |
---|---|
Тема | Re: psql possible TODO |
Дата | |
Msg-id | 20061206061730.GA2977@mark.mielke.cc обсуждение исходный текст |
Ответ на | Re: psql possible TODO (Mark Kirkwood <markir@paradise.net.nz>) |
Список | pgsql-hackers |
On Wed, Dec 06, 2006 at 03:56:35PM +1300, Mark Kirkwood wrote: > 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...:-). 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@mielke.cc / markm@ncf.ca / markm@nortel.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 bindthem... http://mark.mielke.cc/
В списке pgsql-hackers по дате отправления: