Skip to content

Cannot access request settings in pre-request function #2860

Answered by mdr1384
mdr1384 asked this question in Q&A
Discussion options

You must be logged in to vote

I discovered that as you suggested, if I do migrate all my code to the new settings access method and use db-use-legacy-gucs=false - then I can access the settings in both the pre-request script and the regular code. It's apparently just not possible using the old access method. That's fine we will be upgrading PostgreSQL soon anyway. So thank you for the hints @laurenceisla. I think this can be considered closed.

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by steve-chavez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2855 on July 12, 2023 15:12.