forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit17a3f1c
committed
Fix incorrect logic in plan dependency recording
Both50e17ad and29f45e2 mistakenly tried to record a plan dependencyon a function but mistakenly inverted the OidIsValid test. This meantthat we'd record a dependency only when the function's Oid wasInvalidOid. Clearly this was meant to *not* record the dependency inthat case.50e17ad made this mistake first, then in v1529f45e2 copied the samemistake.Reported-by: Tom LaneBackpatch-through: 14, where50e17ad first made this mistakeDiscussion:https://postgr.es/m/2277537.1694301772@sss.pgh.pa.us1 parenta26cc03 commit17a3f1c
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1886 | 1886 | | |
1887 | 1887 | | |
1888 | 1888 | | |
1889 | | - | |
| 1889 | + | |
1890 | 1890 | | |
1891 | 1891 | | |
1892 | | - | |
| 1892 | + | |
1893 | 1893 | | |
1894 | 1894 | | |
1895 | 1895 | | |
| |||
0 commit comments
Comments
(0)