Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45a19ef commit fbc11b9Copy full SHA for fbc11b9
src/bin/psql/print.c
@@ -3,7 +3,7 @@
3
*
4
* Copyright (c) 2000-2005, PostgreSQL Global Development Group
5
6
- * $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.67 2005/07/14 08:42:37 momjian Exp $
+ * $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.68 2005/07/14 15:54:21 momjian Exp $
7
*/
8
#include "postgres_fe.h"
9
#include "common.h"
@@ -1722,8 +1722,10 @@ setDecimalLocale(void)
1722
grouping = "3"; /* most common */
1723
if (*extlconv->thousands_sep)
1724
thousands_sep = strdup(extlconv->thousands_sep);
1725
+ else if (*decimal_point != ',')
1726
+ thousands_sep = ",";
1727
else
- thousands_sep = ","; /* matches SQL standard decimal marker */
1728
+ thousands_sep = ".";
1729
}
1730
1731
0 commit comments