Skip to content

fix(diff): 补充视图 reloptions 差异#5500

Open
pjpjq wants to merge 1 commit into
supabase:developfrom
pjpjq:codex/fix-view-reloption-diff
Open

fix(diff): 补充视图 reloptions 差异#5500
pjpjq wants to merge 1 commit into
supabase:developfrom
pjpjq:codex/fix-view-reloption-diff

Conversation

@pjpjq
Copy link
Copy Markdown

@pjpjq pjpjq commented Jun 7, 2026

Summary

  • 对非 pg-delta 的 db diff 额外比较 source/target 视图 pg_class.reloptions
  • 为已有视图的 reloption-only 变更生成 ALTER VIEW ... SET/RESET (...)
  • 覆盖普通 view、materialized view、schema filter 和连接集成路径的回归测试

Fixes #5476

Tests

  • cd apps/cli-go && go test ./internal/db/diff ./internal/db/pull ./cmd

@pjpjq pjpjq requested a review from a team as a code owner June 7, 2026 10:40
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.

db diff misses reloption-only changes on existing views

1 participant