forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit95c3a19
committed
Avoid unfortunate IPC::Run path caching in PostgresNode
Commitb34ca59 provided for installation-aware instances ofPostgresNode. However, it turns out that IPC::Run works against this bycaching the path to a binary and not consulting the path again, even ifit has changed. We work around this by calling Postgres binaries withthe installed path rather than just a bare name to be looked up in theenvironment path, if there is an installed path. For the common casewhere there is no installed path we continue to use the bare commandname.Diagnosis and solution from Mark DilgerDiscussion:https://postgr.es/m/E8F512F8-B4D6-4514-BA8D-2E671439DA92@enterprisedb.com1 parent8b4b566 commit95c3a19
1 file changed
+31
-5
lines changedLines changed: 31 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1271 | 1271 |
| |
1272 | 1272 |
| |
1273 | 1273 |
| |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
| 1289 | + | |
| 1290 | + | |
| 1291 | + | |
| 1292 | + | |
| 1293 | + | |
| 1294 | + | |
| 1295 | + | |
1274 | 1296 |
| |
1275 | 1297 |
| |
1276 | 1298 |
| |
| |||
1568 | 1590 |
| |
1569 | 1591 |
| |
1570 | 1592 |
| |
1571 |
| - | |
| 1593 | + | |
| 1594 | + | |
1572 | 1595 |
| |
1573 | 1596 |
| |
1574 | 1597 |
| |
| |||
1754 | 1777 |
| |
1755 | 1778 |
| |
1756 | 1779 |
| |
1757 |
| - | |
| 1780 | + | |
1758 | 1781 |
| |
1759 | 1782 |
| |
1760 | 1783 |
| |
| |||
1831 | 1854 |
| |
1832 | 1855 |
| |
1833 | 1856 |
| |
1834 |
| - | |
| 1857 | + | |
| 1858 | + | |
1835 | 1859 |
| |
1836 | 1860 |
| |
1837 | 1861 |
| |
| |||
2041 | 2065 |
| |
2042 | 2066 |
| |
2043 | 2067 |
| |
2044 |
| - | |
| 2068 | + | |
| 2069 | + | |
2045 | 2070 |
| |
2046 | 2071 |
| |
2047 | 2072 |
| |
| |||
2461 | 2486 |
| |
2462 | 2487 |
| |
2463 | 2488 |
| |
2464 |
| - | |
| 2489 | + | |
| 2490 | + | |
2465 | 2491 |
| |
2466 | 2492 |
| |
2467 | 2493 |
| |
|
0 commit comments
Comments
(0)