summaryrefslogtreecommitdiff
path: root/src/bin/psql/print.h
diff options
context:
space:
mode:
authorBruce Momjian2005-06-14 02:57:45 +0000
committerBruce Momjian2005-06-14 02:57:45 +0000
commit2ee0d5549f777d3cf4aa91245256b3868c1a9278 (patch)
tree21cab76a10eeb88aad40e16ec68110c46738170c /src/bin/psql/print.h
parente31cd6739ae078dc3679467a105fc60272b22e4c (diff)
Add -L option to psql to log sessions.
Lorne Sunley
Diffstat (limited to 'src/bin/psql/print.h')
-rw-r--r--src/bin/psql/print.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/bin/psql/print.h b/src/bin/psql/print.h
index f28b7f9d240..7dcc2657f1d 100644
--- a/src/bin/psql/print.h
+++ b/src/bin/psql/print.h
@@ -3,7 +3,7 @@
*
* Copyright (c) 2000-2005, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/bin/psql/print.h,v 1.24 2005/06/13 06:36:22 neilc Exp $
+ * $PostgreSQL: pgsql/src/bin/psql/print.h,v 1.25 2005/06/14 02:57:41 momjian Exp $
*/
#ifndef PRINT_H
#define PRINT_H
@@ -62,7 +62,7 @@ typedef struct _printTableOpt
void printTable(const char *title, const char *const * headers,
const char *const * cells, const char *const * footers,
const char *align,
- const printTableOpt *opt, FILE *fout);
+ const printTableOpt *opt, FILE *fout, FILE *flog);
@@ -82,7 +82,8 @@ typedef struct _printQueryOpt
*
* It calls the printTable above with all the things set straight.
*/
-void printQuery(const PGresult *result, const printQueryOpt *opt, FILE *fout);
+void printQuery(const PGresult *result, const printQueryOpt *opt,
+ FILE *fout, FILE *flog);
#ifndef __CYGWIN__
#define DEFAULT_PAGER "more"