forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitea0e7cd
committed
In COPY FROM, fail cleanly when unsupported encoding conversion is needed.
In recent releases, such cases fail with "cache lookup failed forfunction 0" rather than complaining that the conversion functiondoesn't exist as prior versions did. Seems to be a consequence ofsloppy refactoring in commitf82de5c. Add the missing error check.Per report from Pierre Fortin. Back-patch to v14 where theoversight crept in.Discussion:https://postgr.es/m/20230929163739.3bea46e5.pfortin@pfortin.com1 parent910eb61 commitea0e7cd
1 file changed
+6
-0
lines changedLines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1481 | 1481 |
| |
1482 | 1482 |
| |
1483 | 1483 |
| |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
1484 | 1490 |
| |
1485 | 1491 |
| |
1486 | 1492 |
| |
|
0 commit comments
Comments
(0)