1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-12 02:37:31 +03:00

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.
This commit is contained in:
Tom Lane
2009-11-25 20:26:31 +00:00
parent f6a79c5901
commit da29cc8022
6 changed files with 15 additions and 19 deletions

View File

@@ -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);