forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit390cf32
committed
Refrain from canonicalizing a client_encoding setting of "UNICODE".
While "UTF8" is the correct name for this encoding, existing JDBC driversexpect that if they send "UNICODE" it will read back the same way; theyfail with an opaque "Protocol error" complaint if not. This will be fixedin the 9.1 drivers, but until older drivers are no longer in use in thewild, we'd better leave "UNICODE" alone. Continue to canonicalize allother inputs. Per report from Steve Singer and subsequent discussion.1 parentca5a75f commit390cf32
1 file changed
+24
-6
lines changedLines changed: 24 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
759 | 759 |
| |
760 | 760 |
| |
761 | 761 |
| |
| 762 | + | |
762 | 763 |
| |
763 | 764 |
| |
764 | 765 |
| |
765 | 766 |
| |
766 | 767 |
| |
767 | 768 |
| |
| 769 | + | |
| 770 | + | |
| 771 | + | |
768 | 772 |
| |
769 | 773 |
| |
770 | 774 |
| |
| |||
786 | 790 |
| |
787 | 791 |
| |
788 | 792 |
| |
789 |
| - | |
| 793 | + | |
790 | 794 |
| |
791 | 795 |
| |
792 | 796 |
| |
| |||
798 | 802 |
| |
799 | 803 |
| |
800 | 804 |
| |
801 |
| - | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
802 | 813 |
| |
803 |
| - | |
804 |
| - | |
805 |
| - | |
806 |
| - | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
807 | 822 |
| |
| 823 | + | |
| 824 | + | |
| 825 | + | |
808 | 826 |
| |
809 | 827 |
| |
810 | 828 |
| |
|
0 commit comments
Comments
(0)