- Notifications
You must be signed in to change notification settings - Fork5
Commitf05cfd2
committed
Fix failure to think clearly about encoding conversion errors in COPY.
We can't regurgitate the unconverted string as I first thought, becausethe elog.c mechanisms will assume the error message data is in the serverencoding and attempt a reverse conversion. Eventually it might be worthproviding a short-circuit path to support this, but for now the simplestsolution is to abandon trying to report back the line contents after aconversion failure. Per bug report from Sil Lee, 27-Oct-2004.1 parent0851085 commitf05cfd2
1 file changed
+22
-31
lines changedLines changed: 22 additions & 31 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
1401 | 1401 |
| |
1402 | 1402 |
| |
1403 | 1403 |
| |
1404 |
| - | |
| 1404 | + | |
| 1405 | + | |
1405 | 1406 |
| |
1406 |
| - | |
1407 |
| - | |
1408 |
| - | |
1409 |
| - | |
1410 |
| - | |
1411 |
| - | |
1412 |
| - | |
1413 |
| - | |
1414 |
| - | |
1415 |
| - | |
1416 |
| - | |
1417 |
| - | |
1418 |
| - | |
1419 |
| - | |
1420 |
| - | |
1421 |
| - | |
| 1407 | + | |
| 1408 | + | |
| 1409 | + | |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
| 1416 | + | |
| 1417 | + | |
| 1418 | + | |
| 1419 | + | |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
1422 | 1423 |
| |
1423 |
| - | |
1424 |
| - | |
1425 |
| - | |
1426 |
| - | |
1427 | 1424 |
| |
1428 | 1425 |
| |
1429 | 1426 |
| |
| |||
2175 | 2172 |
| |
2176 | 2173 |
| |
2177 | 2174 |
| |
2178 |
| - | |
2179 |
| - | |
2180 |
| - | |
2181 |
| - | |
2182 |
| - | |
2183 |
| - | |
2184 |
| - | |
2185 | 2175 |
| |
2186 |
| - | |
2187 |
| - | |
2188 | 2176 |
| |
2189 | 2177 |
| |
2190 | 2178 |
| |
| |||
2198 | 2186 |
| |
2199 | 2187 |
| |
2200 | 2188 |
| |
| 2189 | + | |
| 2190 | + | |
| 2191 | + | |
2201 | 2192 |
| |
2202 | 2193 |
| |
2203 | 2194 |
| |
|
0 commit comments
Comments
(0)