summaryrefslogtreecommitdiff
path: root/src/bin/psql/mbprint.h
diff options
context:
space:
mode:
authorTom Lane2009-11-25 20:26:31 +0000
committerTom Lane2009-11-25 20:26:31 +0000
commitda29cc802215e3a01bab0f9fb5dd14c03d6f973d (patch)
treebc4ca7b945ada30eda972beea702e98d39b1d062 /src/bin/psql/mbprint.h
parentf6a79c5901f36a822bdbffda1077613828ce6863 (diff)
Simplify psql's new linestyle behavior to default to linestyle=ascii all
the time, rather than hoping we can tell whether the terminal supports UTF8 characters. Per discussion.
Diffstat (limited to 'src/bin/psql/mbprint.h')
-rw-r--r--src/bin/psql/mbprint.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bin/psql/mbprint.h b/src/bin/psql/mbprint.h
index 4d5376c7cd6..4e9d933c945 100644
--- a/src/bin/psql/mbprint.h
+++ b/src/bin/psql/mbprint.h
@@ -1,4 +1,4 @@
-/* $PostgreSQL: pgsql/src/bin/psql/mbprint.h,v 1.14 2009/10/13 21:04:01 tgl Exp $ */
+/* $PostgreSQL: pgsql/src/bin/psql/mbprint.h,v 1.15 2009/11/25 20:26:31 tgl Exp $ */
#ifndef MBPRINT_H
#define MBPRINT_H
@@ -9,7 +9,6 @@ struct lineptr
int width;
};
-extern int pg_get_utf8_id(void);
extern unsigned char *mbvalidate(unsigned char *pwcs, int encoding);
extern int pg_wcswidth(const unsigned char *pwcs, size_t len, int encoding);
extern void pg_wcsformat(unsigned char *pwcs, size_t len, int encoding, struct lineptr * lines, int count);