summaryrefslogtreecommitdiff
path: root/src/bin/psql/print.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2007-11-22 17:51:39 +0000
committerBruce Momjian <bruce@momjian.us>2007-11-22 17:51:39 +0000
commitb85cf684f76f7535407669438b406dd61542e8f0 (patch)
treea60a43481378bc79f8da19653683bf7822aba5e1 /src/bin/psql/print.c
parentf608f3b87b9f000c1ac168d9347f5d78bd2b69ae (diff)
Add more comments about thousands separator handling.
Diffstat (limited to 'src/bin/psql/print.c')
-rw-r--r--src/bin/psql/print.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bin/psql/print.c b/src/bin/psql/print.c
index 2dee6be79d3..d0e378b7bdc 100644
--- a/src/bin/psql/print.c
+++ b/src/bin/psql/print.c
@@ -3,7 +3,7 @@
*
* Copyright (c) 2000-2007, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.93 2007/11/22 15:10:05 momjian Exp $
+ * $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.94 2007/11/22 17:51:39 momjian Exp $
*
* Note: we include postgres.h not postgres_fe.h so that we can include
* catalog/pg_type.h, and thereby have access to INT4OID and similar macros.
@@ -2037,6 +2037,8 @@ setDecimalLocale(void)
grouping = strdup(extlconv->grouping);
else
grouping = "3"; /* most common */
+
+ /* similar code exists in formatting.c */
if (*extlconv->thousands_sep)
thousands_sep = strdup(extlconv->thousands_sep);
/* Make sure thousands separator doesn't match decimal point symbol. */