psql session log

From: lsunley(at)mb(dot)sympatico(dot)ca
To: pgsql-patches(at)postgresql(dot)org
Subject: psql session log
Date: 2005-01-01 23:50:21
Message-ID: 0I9N00A1AZPV8J@l-daemon
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)mb(dot)sympatico(dot)ca
-----------------------------------------------------------

Attachment Content-Type Size
psql.diff application/octet-stream 8.3 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2005-01-02 06:02:09 Re: [HACKERS] Bgwriter behavior
Previous Message lsunley 2005-01-01 23:37:01 Session log for psql