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

Reliably sort functions, views, and materialized views in schema #181

Conversation

danielwestendorf
Copy link
Contributor

Dependent on #180

  • sorts functions when dumping schema for consistent schema changes
  • reliably sorts views and materialized views in schema

Previously, functions where dumped in an unsorted fashion, resulting in changes to the schema when no actual changes where made.

Previously, views and materialized views were reliably placed after tables, however, a sorted order of those views was not enforced so the order of the views would change when no actual changes where made.

@PNixx PNixx merged commit 063a2e4 into PNixx:master Nov 18, 2024
16 checks passed
@franzliedke
Copy link

@danielwestendorf Is this going to work reliably for views dependent on each other? 🤔

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.

3 participants