Skip to content

Make extension views in postgres be recognised as system views#382

Open
jonknight73 wants to merge 2 commits into
mainfrom
fix/ignored-system-views
Open

Make extension views in postgres be recognised as system views#382
jonknight73 wants to merge 2 commits into
mainfrom
fix/ignored-system-views

Conversation

@jonknight73

Copy link
Copy Markdown
Contributor

Make Extension views be recognised as system views so they are excluded from upgrade path calculations.

@sonarqubecloud

Copy link
Copy Markdown

protected boolean isSystemTable(RealName tableName) {
return extensionRelationNames.get().contains(tableName);
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Calling super as well would be good pracitise :)

@Override
protected boolean isSystemView(RealName viewName) {
return extensionRelationNames.get().contains(viewName);
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So there was something about "SystemView" before, that is good :)
Again, or super.

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.

2 participants