summaryrefslogtreecommitdiff
path: root/src/bin/psql/print.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2003-06-12 07:52:51 +0000
committerBruce Momjian <bruce@momjian.us>2003-06-12 07:52:51 +0000
commitef2ba427171d59ad9af78af48c52fa24b2131589 (patch)
tree7e2b84df9825a7ce2afd1c7a50df000c2443875c /src/bin/psql/print.h
parente9cda08b2b79303e36594e1d4e5e09ea2db84b6a (diff)
Attached is a patch that enhances the output of psql's HTML mode.
The output now validates as HTML 4.01 Strict, XHTML 1.0 strict, and XHTML 1.1 (assuming you wrap it in a valid html/body document). It also wraps the output of PGRES_COMMAND_OK if the HTML tag is on, for full compliance: this is why html_escaped_print has to be externalized. Greg Sabino Mullane greg@turnstep.com
Diffstat (limited to 'src/bin/psql/print.h')
-rw-r--r--src/bin/psql/print.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/psql/print.h b/src/bin/psql/print.h
index e0ce3401d38..a70e7858bbe 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.16 2003/03/18 22:15:44 petere Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/print.h,v 1.17 2003/06/12 07:52:51 momjian Exp $
*/
#ifndef PRINT_H
#define PRINT_H
@@ -13,6 +13,7 @@
extern FILE *PageOutput(int lines, unsigned short int pager);
+extern void html_escaped_print(const char *in, FILE *fout);
enum printFormat
{