- Notifications
You must be signed in to change notification settings - Fork5
Commit43adc7a
committed
Restore old pgwin32_message_to_UTF16() behavior outside transactions.
Commit49c817e replaced with a harderror the dubious pg_do_encoding_conversion() behavior when outside atransaction. Reintroduce the historic soft failure locally withinpgwin32_message_to_UTF16(). This fixes errors when writing messages inless-common encodings to the Windows event log or console. Back-patchto 9.4, where the aforementioned commit first appeared.Per bug #13427 from Dmitri Bourlatchkov.1 parent845405a commit43adc7a
1 file changed
+17
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1063 | 1063 | | |
1064 | 1064 | | |
1065 | 1065 | | |
1066 | | - | |
| 1066 | + | |
| 1067 | + | |
1067 | 1068 | | |
1068 | 1069 | | |
1069 | 1070 | | |
| |||
1075 | 1076 | | |
1076 | 1077 | | |
1077 | 1078 | | |
1078 | | - | |
1079 | | - | |
1080 | | - | |
1081 | | - | |
1082 | | - | |
1083 | | - | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
1084 | 1094 | | |
1085 | 1095 | | |
1086 | 1096 | | |
| |||
0 commit comments
Comments
(0)