1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-10 14:22:35 +03:00

Add -L option to psql to log sessions.

Lorne Sunley
This commit is contained in:
Bruce Momjian
2005-06-14 02:57:45 +00:00
parent e31cd6739a
commit 2ee0d5549f
11 changed files with 89 additions and 41 deletions

View File

@@ -3,7 +3,7 @@
*
* Copyright (c) 2000-2005, PostgreSQL Global Development Group
*
* $PostgreSQL: pgsql/src/bin/psql/large_obj.c,v 1.36 2005/02/22 04:40:55 momjian Exp $
* $PostgreSQL: pgsql/src/bin/psql/large_obj.c,v 1.37 2005/06/14 02:57:41 momjian Exp $
*/
#include "postgres_fe.h"
#include "large_obj.h"
@@ -263,7 +263,7 @@ do_lo_list(void)
myopt.nullPrint = NULL;
myopt.title = _("Large objects");
printQuery(res, &myopt, pset.queryFout);
printQuery(res, &myopt, pset.queryFout, pset.logfile);
PQclear(res);
return true;