aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/print.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/psql/print.h')
-rw-r--r--src/bin/psql/print.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/bin/psql/print.h b/src/bin/psql/print.h
index 4706b8fba02..d2c8980ba78 100644
--- a/src/bin/psql/print.h
+++ b/src/bin/psql/print.h
@@ -3,7 +3,7 @@
*
* Copyright 2000 by PostgreSQL Global Development Group
*
- * $Header: /cvsroot/pgsql/src/bin/psql/print.h,v 1.7 2000/02/16 13:15:26 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/print.h,v 1.8 2000/04/12 17:16:23 momjian Exp $
*/
#ifndef PRINT_H
#define PRINT_H
@@ -32,9 +32,10 @@ typedef struct _printTableOpt
unsigned short int border; /* Print a border around the table.
* 0=none, 1=dividing lines, 2=full */
char *fieldSep; /* field separator for unaligned text mode */
- char *recordSep; /* record separator for unaligned text mode */
+ char *recordSep; /* record separator for unaligned text
+ * mode */
char *tableAttr; /* attributes for HTML <table ...> */
-} printTableOpt;
+} printTableOpt;
/*
@@ -48,10 +49,10 @@ typedef struct _printTableOpt
* - align is an 'l' or an 'r' for every column, if the output format needs it.
* (You must specify this long enough. Otherwise anything could happen.)
*/
-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);
+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);
@@ -63,7 +64,7 @@ typedef struct _printQueryOpt
char *title; /* override title */
char **footers; /* override footer (default is "(xx
* rows)") */
-} printQueryOpt;
+} printQueryOpt;
/*
* Use this to print query results
@@ -71,7 +72,7 @@ typedef struct _printQueryOpt
* It calls the printTable above with all the things set straight.
*/
void
-printQuery(const PGresult *result, const printQueryOpt * opt, FILE *fout);
+ printQuery(const PGresult *result, const printQueryOpt *opt, FILE *fout);
#endif /* PRINT_H */