build.rs
requires $PGRX_HOME/config.toml when it doesn't need to
#1111
Labels
bug
Something isn't working
build.rs
supports reading the variablespg_config
provides from the environment, and in this case it never needs to executepg_config
, which also means that in this case it doesn't need to know wherepg_config
is on disk. Which means in this case we don't require$PGRX_HOME/config.toml
.Unfortunately,
build.rs
blindly tries to open$PGRX_HOME/config.toml
no matter what.A downstream effect of this is that an installed PL/Rust extension requires that file during
CREATE FUNCTION
and it shouldn't.The text was updated successfully, but these errors were encountered: