Commit c81bed2
committed
Use server-side zeros trim instead of hinted precision and scale
For expressions as columns we cast to decimal first because there is a chance
it should be done because there is internal cast to decimal and this is the
reason that result type of column is decimal,
For simple column expressions we probably don't need cast, just trim1 parent 01581a0 commit c81bed2
File tree
1 file changed
+8
-0
lines changed- Orm/Xtensive.Orm.PostgreSql/Orm.Providers.PostgreSql
1 file changed
+8
-0
lines changedLines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
64 | 71 | | |
65 | 72 | | |
66 | 73 | | |
| |||
138 | 145 | | |
139 | 146 | | |
140 | 147 | | |
| 148 | + | |
141 | 149 | | |
142 | 150 | | |
143 | 151 | | |
0 commit comments