diff options
author | Bruce Momjian <bruce@momjian.us> | 2005-07-14 08:42:37 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2005-07-14 08:42:37 +0000 |
commit | 45a19efa9ec66fa35cc86671e2a1cebfe787fd9f (patch) | |
tree | cf8cb150000919cb8da1330ea8cbc7a21c68bbbb /src/bin/psql/print.h | |
parent | 4a8bbbd2ee0518b98b1aef74e88ad73baf9ea574 (diff) | |
download | postgresql-45a19efa9ec66fa35cc86671e2a1cebfe787fd9f.tar.gz postgresql-45a19efa9ec66fa35cc86671e2a1cebfe787fd9f.zip |
Change numericsep to a boolean, and make it locale-aware.
Diffstat (limited to 'src/bin/psql/print.h')
-rw-r--r-- | src/bin/psql/print.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/bin/psql/print.h b/src/bin/psql/print.h index f64f8ba0f8e..bb23b7c08c4 100644 --- a/src/bin/psql/print.h +++ b/src/bin/psql/print.h @@ -3,7 +3,7 @@ * * Copyright (c) 2000-2005, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/psql/print.h,v 1.26 2005/07/10 03:46:13 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/psql/print.h,v 1.27 2005/07/14 08:42:37 momjian Exp $ */ #ifndef PRINT_H #define PRINT_H @@ -40,7 +40,8 @@ typedef struct _printTableOpt char *fieldSep; /* field separator for unaligned text mode */ char *recordSep; /* record separator for unaligned text * mode */ - char *numericSep; /* numeric units separator */ + bool numericSep; /* locale-aware numeric units separator and + * decimal marker */ char *tableAttr; /* attributes for HTML <table ...> */ int encoding; /* character encoding */ bool normal_query; /* are we presenting the results of a @@ -86,6 +87,8 @@ typedef struct _printQueryOpt void printQuery(const PGresult *result, const printQueryOpt *opt, FILE *fout, FILE *flog); +void setDecimalLocale(void); + #ifndef __CYGWIN__ #define DEFAULT_PAGER "more" #else |