forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit832877e
committed
Modify getdatabaseencoding(), pg_encoding_to_char()
pg_char_to_encoding() in multibyte disbaled case so that it does notthrow an error, rather return HARD CODED default value (currently SQL_ASCII).This would solve the "non-mb backend vs. mb-enabled frontend" problem.1 parentf6a3b87 commit832877e
1 file changed
+3
-6
lines changedLines changed: 3 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
102 | 102 |
| |
103 | 103 |
| |
104 | 104 |
| |
105 |
| - | |
106 |
| - | |
| 105 | + | |
107 | 106 |
| |
108 | 107 |
| |
109 | 108 |
| |
110 | 109 |
| |
111 | 110 |
| |
112 |
| - | |
113 |
| - | |
| 111 | + | |
114 | 112 |
| |
115 | 113 |
| |
116 | 114 |
| |
117 | 115 |
| |
118 | 116 |
| |
119 |
| - | |
120 | 117 |
| |
121 | 118 |
| |
122 | 119 |
| |
|
0 commit comments
Comments
(0)