Commit 5db55c6
committed
Remove wchar.c Asserts that were stricter than the main code
Assert errors were thrown for functions being passed invalid encodings,
while the main code handled it just fine.
Also document that libpq's PQclientEncoding() returns -1 for an encoding
lookup failure.
Per report from Peter Geoghegan1 parent 0b5c0f3 commit 5db55c6
2 files changed
+7
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5377 | 5377 | | |
5378 | 5378 | | |
5379 | 5379 | | |
5380 | | - | |
| 5380 | + | |
| 5381 | + | |
5381 | 5382 | | |
5382 | 5383 | | |
5383 | 5384 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1778 | 1778 | | |
1779 | 1779 | | |
1780 | 1780 | | |
1781 | | - | |
1782 | | - | |
1783 | | - | |
1784 | | - | |
| 1781 | + | |
1785 | 1782 | | |
1786 | 1783 | | |
1787 | 1784 | | |
| |||
1792 | 1789 | | |
1793 | 1790 | | |
1794 | 1791 | | |
1795 | | - | |
1796 | | - | |
1797 | | - | |
1798 | | - | |
| 1792 | + | |
1799 | 1793 | | |
1800 | 1794 | | |
1801 | 1795 | | |
| |||
1808 | 1802 | | |
1809 | 1803 | | |
1810 | 1804 | | |
1811 | | - | |
1812 | | - | |
1813 | | - | |
1814 | | - | |
1815 | | - | |
1816 | | - | |
| 1805 | + | |
| 1806 | + | |
| 1807 | + | |
1817 | 1808 | | |
1818 | 1809 | | |
1819 | 1810 | | |
| |||
0 commit comments