psql session log - Mailing list pgsql-patches

From lsunley@mb.sympatico.ca
Subject psql session log
Date
Msg-id 0I9N00A1AZPV8J@l-daemon
Whole thread Raw
Responses Re: psql session log
List pgsql-patches
Here is a patch that allows psql to create a session log

NOTE - the patch to the makefile is to keep it from constantly building
psql.exe as the target "psql" all by itself is never created as the output
executable on OS/2 and Windows is psql.exe.

The patch provides for a new command line argument -L logfile-name that is
used to turn on session logging with output to the specified file name.
The output from the logging is always appended to an existing file.

The session log records both the query text and the results from the
queries.

Lorne Sunley


--
-----------------------------------------------------------
lsunley@mb.sympatico.ca
-----------------------------------------------------------

Attachment

pgsql-patches by date:

Previous
From: Simon Riggs
Date:
Subject: Re: [HACKERS] Bgwriter behavior
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Bgwriter behavior