Repository navigation
PostgreSQL: Support REFRESH MATERIALIZED VIEW - #2769
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2769 +/- ##
==========================================
+ Coverage 82.83% 82.85% +0.01%
==========================================
Files 42 42
Lines 35900 35935 +35
Branches 35900 35935 +35
==========================================
+ Hits 29739 29774 +35
Misses 2654 2654
Partials 3507 3507 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
LucaCappelletti94
force-pushed
the
upstream/refresh-materialized-view
branch
from
October 29, 2026 18:17
84a5ea7 to
6cec5da
Compare
LucaCappelletti94
force-pushed
the
upstream/refresh-materialized-view
branch
from
October 30, 2026 19:12
3dced19 to
cea869c
Compare
LucaCappelletti94
force-pushed
the
upstream/refresh-materialized-view
branch
from
October 31, 2026 08:49
cea869c to
98a0df9
Compare
…view-spanned # Conflicts: # src/ast/spans.rs
Contributor
Author
|
Thanks @sabir-akhadov-localstack for the review, I have added a couple more tests and the missing cc @alamb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
REFRESH MATERIALIZED VIEW mandREFRESH MATERIALIZED VIEW CONCURRENTLY app.m WITH NO DATAfailed under every dialect withExpected: an SQL statement, found: REFRESHThis adds
Statement::RefreshMaterializedView, holding the view name, whetherCONCURRENTLYwas written and the optionalWITH [NO] DATA. The name is visited as a relation. The statement parses in every dialect, asVACUUMandRESETdo.WITH [NO] DATAis anOption<bool>because the existingWithDataalso carries Teradata'sAND [NO] STATISTICS, whichREFRESHdoes not take.docs: https://www.postgresql.org/docs/current/sql-refreshmaterializedview.html