forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc961f40
committed
Further fix for psql's code for locale-aware formatting of numeric output.
(Third time's the charm, I hope.)Additional testing disclosed that this code could mangle already-localizedoutput from the "money" datatype. We can't very easily skip applying itto "money" values, because the logic is tied to column right-justificationand people expect "money" output to be right-justified. Short ofdecoupling that, we can fix it in what should be a safe enough way bytesting to make sure the string doesn't contain any characters that wouldnot be expected in plain numeric output.1 parent49917ed commitc961f40
1 file changed
+23
-7
lines changedLines changed: 23 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
161 | 161 |
| |
162 | 162 |
| |
163 | 163 |
| |
| 164 | + | |
| 165 | + | |
164 | 166 |
| |
165 |
| - | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
166 | 170 |
| |
167 | 171 |
| |
168 | 172 |
| |
169 | 173 |
| |
170 |
| - | |
171 |
| - | |
172 |
| - | |
173 |
| - | |
174 |
| - | |
175 |
| - | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
176 | 192 |
| |
177 | 193 |
| |
178 | 194 |
| |
|
0 commit comments
Comments
(0)