Skip to content
This repository was archived by the owner on Jul 15, 2025. It is now read-only.

FIX: Scope materialized view existence check to current schema#203

Merged
s3lase merged 1 commit into
mainfrom
fix/materialized-view-presence-check
May 19, 2025
Merged

FIX: Scope materialized view existence check to current schema#203
s3lase merged 1 commit into
mainfrom
fix/materialized-view-presence-check

Conversation

@s3lase

@s3lase s3lase commented May 19, 2025

Copy link
Copy Markdown
Contributor

Currently, mview_exists? returns true if the materialized view existed anywhere in the database, regardless of the schema. This caused issues after backup restores, where the views may exist in the backup schema created during the restore but not in the current public schema.

This change ensures the check is scoped to the current schema.

Currently, `mview_exists?` returns true if the materialized view
existed anywhere in the database, regardless of the schema.
This caused issues after backup restores, where the views may exist in the `backup` schema
created during the restore but not in the current public schema.

This change ensures the check is scoped to the current schema.
@s3lase

s3lase commented May 19, 2025

Copy link
Copy Markdown
Contributor Author

Thanks @cvx

@s3lase s3lase merged commit 104e2e3 into main May 19, 2025
6 checks passed
@s3lase s3lase deleted the fix/materialized-view-presence-check branch May 19, 2025 16:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants