forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1161d89
committed
Remove dependency on database encoding in citext regression test.
Testing convert_to(..., 'ISO-8859-1') fails if there isn't a conversionfunction available from the database encoding to ISO-8859-1. This hasbeen broken since day one, but the breakage was hidden bypg_do_encoding_conversion's failure to complain, up till commit49c817e.Since the data being converted in this test is plain ASCII, no actualconversion need happen (and if it did, it would prove little about citextanyway). So that we still have some code coverage of the convert() familyof functions, let's switch to using convert_from, with SQL_ASCII as thespecified source encoding. Per buildfarm.1 parent4333eee commit1161d89
3 files changed
+3
-3
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1691 | 1691 |
| |
1692 | 1692 |
| |
1693 | 1693 |
| |
1694 |
| - | |
| 1694 | + | |
1695 | 1695 |
| |
1696 | 1696 |
| |
1697 | 1697 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1691 | 1691 |
| |
1692 | 1692 |
| |
1693 | 1693 |
| |
1694 |
| - | |
| 1694 | + | |
1695 | 1695 |
| |
1696 | 1696 |
| |
1697 | 1697 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
572 | 572 |
| |
573 | 573 |
| |
574 | 574 |
| |
575 |
| - | |
| 575 | + | |
576 | 576 |
| |
577 | 577 |
| |
578 | 578 |
| |
|
0 commit comments
Comments
(0)