From: | lsunley(at)mb(dot)sympatico(dot)ca |
---|---|
To: | psql-patches(at)postgresql(dot)org |
Subject: | Session log for psql |
Date: | 2005-01-01 23:37:01 |
Message-ID: | 0I9N0072AZD7RK@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 |
From | Date | Subject | |
---|---|---|---|
Next Message | lsunley | 2005-01-01 23:50:21 | psql session log |
Previous Message | Simon Riggs | 2005-01-01 21:14:01 | Re: [HACKERS] Bgwriter behavior |