forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit0ec5306
committed
Fix performance regression in dblink connection speed.
Previous commite5de601 modified dblinkto ensure client encoding matched the server. However the addedPQsetClientEncoding() call added significant overhead. Restore originalperformance in the common case where client encoding already matchesserver encoding by doing nothing in that case. Applies to all activebranches.Issue reported and work sponsored by Zonar Systems.1 parent2dcc48c commit0ec5306
1 file changed
+5
-3
lines changedLines changed: 5 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
209 | 209 |
| |
210 | 210 |
| |
211 | 211 |
| |
212 |
| - | |
| 212 | + | |
| 213 | + | |
213 | 214 |
| |
214 | 215 |
| |
215 | 216 |
| |
| |||
288 | 289 |
| |
289 | 290 |
| |
290 | 291 |
| |
291 |
| - | |
292 |
| - | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
293 | 295 |
| |
294 | 296 |
| |
295 | 297 |
| |
|
0 commit comments
Comments
(0)