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/startup.c | |
| parent | 4a8bbbd2ee0518b98b1aef74e88ad73baf9ea574 (diff) | |
| download | postgresql-45a19efa9ec66fa35cc86671e2a1cebfe787fd9f.tar.gz | |
Change numericsep to a boolean, and make it locale-aware.
Diffstat (limited to 'src/bin/psql/startup.c')
| -rw-r--r-- | src/bin/psql/startup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/psql/startup.c b/src/bin/psql/startup.c index 9caecbe449..3f603757c4 100644 --- a/src/bin/psql/startup.c +++ b/src/bin/psql/startup.c @@ -3,7 +3,7 @@ * * Copyright (c) 2000-2005, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/psql/startup.c,v 1.118 2005/06/21 04:02:33 tgl Exp $ + * $PostgreSQL: pgsql/src/bin/psql/startup.c,v 1.119 2005/07/14 08:42:37 momjian Exp $ */ #include "postgres_fe.h" @@ -130,6 +130,7 @@ main(int argc, char *argv[]) setvbuf(stderr, NULL, _IONBF, 0); setup_win32_locks(); #endif + setDecimalLocale(); pset.cur_cmd_source = stdin; pset.cur_cmd_interactive = false; pset.encoding = PQenv2encoding(); |
