It depends....
I use vi, and specify the environment variable
"PSQL_EDITOR" in "/etc/profile.local", thus:
export PSQL_EDITOR="/usr/bin/vi"
then when I want to edit a file, from within psql,
type:
\e /path/tp/file.sql
:-) easy.
-- Thomas Adam
--- Steve_Miller@sil.org wrote: > I'm still new to
the Linux world, and do not have a
> bias for editor choice.
> I have one colleague that uses Emacs, but another is
> worried it leads to
> RSI and carpel tunnel syndrome, because the hands
> are on the keyboard all
> the time.
>
> So what are the favorites for PostgreSQL scripts? I
> need to start learning
> one.
>
> Steve Miller
> SIL International
>
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 2: you can get off all lists at once with the
> unregister command
> (send "unregister YourEmailAddressHere" to
majordomo@postgresql.org)
=====
Thomas Adam
"The Linux Weekend Mechanic" -- www.linuxgazette.com
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com