-
-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to test GucContext::SuBackend #1906
Comments
Uhh, I believe that this is impossible to unit test with |
It seems plausible that |
As for manual testing, I suppose you can simply set it in the configuration file? That's what I usually have done. |
with manual test I was able to make it running with:
with unit tests
it seems to be missing but I'm still not 100% sure |
I don't believe we pass PGOPTIONS on to the postgres process. |
Actually it seems it's not on the list of env vars we strip out. Weird. Should work, then. |
this is where we start up postgres: pgrx/pgrx-tests/src/framework.rs Lines 552 to 571 in c9e218b
|
hello, let's assume that I have this GUC initialization logic:
GucContext::Suset
:but - as expected - I'm getting
cargo pgrx run pg16
?The text was updated successfully, but these errors were encountered: