Re: Updating psql for features of new FE/BE protocol

From: Kevin Brown <kevin(at)sysexperts(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Updating psql for features of new FE/BE protocol
Date: 2003-06-26 00:25:28
Message-ID: 20030626002528.GF16911@filer
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

nolan(at)celery(dot)tssi(dot)com wrote:
> > nolan(at)celery(dot)tssi(dot)com 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 kevin(at)sysexperts(dot)com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-06-26 00:30:52 Re: RServ patch to support multiple slaves (sorta)
Previous Message Kevin Brown 2003-06-26 00:20:27 Re: Updating psql for features of new FE/BE protocol