Commit dd24098
Etsuro Fujita
postgres_fdw: Remove useless ternary expression.
There is no case where we would call pgfdw_exec_cleanup_query or
pgfdw_exec_cleanup_query_{begin,end} with a NULL query string, so this
expression is pointless; remove it and instead add to the latter
functions an assertion ensuring the given query string is not NULL.
Thinko in commit 815d61f.
Discussion: https://postgr.es/m/CAPmGK14mm%2B%3DUjyjoWj_Hu7c%2BQqX-058RFfF%2BqOkcMZ_Nj52v-A%40mail.gmail.com1 parent 3a4a353 commit dd24098
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1417 | 1417 | | |
1418 | 1418 | | |
1419 | 1419 | | |
| 1420 | + | |
| 1421 | + | |
1420 | 1422 | | |
1421 | 1423 | | |
1422 | 1424 | | |
| |||
1438 | 1440 | | |
1439 | 1441 | | |
1440 | 1442 | | |
| 1443 | + | |
| 1444 | + | |
1441 | 1445 | | |
1442 | 1446 | | |
1443 | 1447 | | |
| |||
1456 | 1460 | | |
1457 | 1461 | | |
1458 | 1462 | | |
1459 | | - | |
| 1463 | + | |
1460 | 1464 | | |
1461 | 1465 | | |
1462 | 1466 | | |
| |||
0 commit comments