forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita0477b0
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 parent847cfb6 commita0477b0
1 file changed
+6
-0
lines changedLines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1485 | 1485 |
| |
1486 | 1486 |
| |
1487 | 1487 |
| |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
1488 | 1494 |
| |
1489 | 1495 |
| |
1490 | 1496 |
| |
|
0 commit comments
Comments
(0)