summaryrefslogtreecommitdiff
path: root/src/bin/psql/mbprint.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-11-25 20:26:31 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-11-25 20:26:31 +0000
commitda29cc802215e3a01bab0f9fb5dd14c03d6f973d (patch)
treebc4ca7b945ada30eda972beea702e98d39b1d062 /src/bin/psql/mbprint.c
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.c')
-rw-r--r--src/bin/psql/mbprint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/mbprint.c b/src/bin/psql/mbprint.c
index 2999d56ef6f..6671b0a98b9 100644
--- a/src/bin/psql/mbprint.c
+++ b/src/bin/psql/mbprint.c
@@ -3,7 +3,7 @@
*
* Copyright (c) 2000-2009, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/bin/psql/mbprint.c,v 1.36 2009/10/13 21:04:01 tgl Exp $
+ * $PostgreSQL: pgsql/src/bin/psql/mbprint.c,v 1.37 2009/11/25 20:26:31 tgl Exp $
*
* XXX this file does not really belong in psql/. Perhaps move to libpq?
* It also seems that the mbvalidate function is redundant with existing
@@ -30,7 +30,7 @@
typedef unsigned int pg_wchar;
-int
+static int
pg_get_utf8_id(void)
{
static int utf8_id = -1;