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

Поиск
Список
Период
Сортировка
От Kevin Brown
Тема Re: Updating psql for features of new FE/BE protocol
Дата
Msg-id 20030626002528.GF16911@filer
обсуждение исходный текст
Ответ на Re: Updating psql for features of new FE/BE protocol  (nolan@celery.tssi.com)
Список pgsql-hackers
nolan@celery.tssi.com wrote:
> > nolan@celery.tssi.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@sysexperts.com


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Kevin Brown
Дата:
Сообщение: Re: Updating psql for features of new FE/BE protocol
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: RServ patch to support multiple slaves (sorta)