forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit39a3bdc

Etsuro Fujita
postgres_fdw: Remove useless if-test in GetConnection().
Checking whether entry->conn is NULL after doing disconnect_pg_server()for that entry is pointless, as that function ensures that it is NULL.Thinko in commit7fc1a81; this would be harmless, so patch HEAD only.Reviewed-by: Richard Guo and Daniel GustafssonDiscussion:https://postgr.es/m/CAPmGK169vQ83PQwQkoxO-AK2EeK1EsgsxixedM%2BBLWEAhZ_AqQ%40mail.gmail.com1 parentbfc9497 commit39a3bdc
1 file changed
+1
-2
lines changedLines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
271 | 271 |
| |
272 | 272 |
| |
273 | 273 |
| |
274 |
| - | |
275 |
| - | |
| 274 | + | |
276 | 275 |
| |
277 | 276 |
| |
278 | 277 |
| |
|
0 commit comments
Comments
(0)