Search Postgresql Archives

Re: How to capture an interactive psql session in a log file?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 03, 2009, Scott Marlowe wrote:
> On Fri, Apr 3, 2009 at 1:20 AM, A. Kretschmer
> <andreas.kretschmer@xxxxxxxxxxxxxx> wrote:
> > In response to Scott Marlowe :
> >> On Thu, Apr 2, 2009 at 11:55 PM, Gordon Shannon <gordo169@xxxxxxxxx> wrote:
> >> >
> >> > What I'm trying to do doesn't seem like it should be that difficult or
> >> > unusual, but I can't seem to find the right combination of commands to make
> >> > it happen.  I want to have a log file that captures everything from an
> >> > interactive psql session.  Running 8.3.7 with bash shell on Linux.
> >>
> >> Look up the screen command.  It's pretty standard on most unixes.
> >
> > s/screen/script/
> 
> Thanks.  I was thinking script, honest.  I need to get to sleep.


Though you can log with screen in the same fashion as script with
'C-a H'.  :)

--
Mahlon E. Smith  
http://www.martini.nu/contact.html

Attachment: pgp67UEBPRg7K.pgp
Description: PGP signature


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux