[EMAIL PROTECTED] wrote:
> > [EMAIL PROTECTED] writes:
> > > Is it too late to suggest that there be a way to have output displayed
> > > on screen AND output to a file?  
> > 
> > tee perhaps?
> 
> Tee ALMOST does it.  Try doing a \d while tee'ing the output, for example.

Try using "script" (start it from the shell before invoking psql).
It sounds like it'll do much of what you're after.

"Screen" also has a logging option which may work just as well, if not
better, than "script", and has the additional advantage that the session
will continue (and can be reattached to) even if your terminal window
dies for whatever reason.


-- 
Kevin Brown                                           [EMAIL PROTECTED]

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Reply via email to