Skip to content
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

Get view definition of a view from dedicated schema #117

Merged
merged 1 commit into from
Sep 17, 2023
Merged

Conversation

shayonj
Copy link
Owner

@shayonj shayonj commented Sep 17, 2023

The search_path can get lost or not set when looking for the view definition via pg_get_viewdef. Hence we now pass in the schema in addition to the view name for Query.view_definitions_for

fixes: #112

The search_path can get lost or not set when looking for the view definition via pg_get_viewdef.
Hence we now pass in the schema in addition to the view name for Query.view_definitions_for
@shayonj shayonj merged commit a96aafa into main Sep 17, 2023
13 checks passed
@shayonj shayonj deleted the s/fix-view-schema branch September 17, 2023 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Views from different schema aren't updated because of error
1 participant