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
Add "Ignore tablespace" to Schema Diff #6004
Comments
I would like this too! I have over 5000 lines in a diff with |
akshay-joshi
added a commit
to akshay-joshi/pgadmin4
that referenced
this issue
Aug 11, 2023
…5759 2) Added 'Ignore Tablespace' option in the schema diff tool. pgadmin-org#6004 3) Ensure that Schema Diff comparison results should be displayed in the sorted order. pgadmin-org#6595 4) Fixed an issue where the SET directive is excluded from the function header in the schema diff tool. pgadmin-org#6651
akshay-joshi
added a commit
to akshay-joshi/pgadmin4
that referenced
this issue
Aug 11, 2023
…5759 2) Added 'Ignore Tablespace' option in the schema diff tool. pgadmin-org#6004 3) Ensure that Schema Diff comparison results should be displayed in the sorted order. pgadmin-org#6595 4) Fixed an issue where the SET directive is excluded from the function header in the schema diff tool. pgadmin-org#6651
akshay-joshi
added a commit
to akshay-joshi/pgadmin4
that referenced
this issue
Aug 11, 2023
…5759 2) Added 'Ignore Tablespace' option in the schema diff tool. pgadmin-org#6004 3) Ensure that Schema Diff comparison results should be displayed in the sorted order. pgadmin-org#6595 4) Fixed an issue where the SET directive is excluded from the function header in the schema diff tool. pgadmin-org#6651 Update preferneces documentation and screenshot
akshay-joshi
added a commit
to akshay-joshi/pgadmin4
that referenced
this issue
Aug 11, 2023
…5759 2) Added 'Ignore Tablespace' option in the schema diff tool. pgadmin-org#6004 3) Ensure that Schema Diff comparison results should be displayed in the sorted order. pgadmin-org#6595 4) Fixed an issue where the SET directive is excluded from the function header in the schema diff tool. pgadmin-org#6651 Update preferneces documentation and screenshot Fixed review comments.
Working fine |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the solution you'd like
In the "Compare" button dropdown (which has Ignore owner/whitespace) I would like to have a new "Ignore tablespace" option.
Some of my database tables have an explicit
TABLESPACE pg_default;
setting and some others don't have it declared at all. I'm not sure why. Of course, not declaring tablespace is equivalent to using pg_default. I'm using various docker flavours, some from timescaledb, some from debian, some on alpine. That must be why.Describe alternatives you've considered
I'm not even sure I can redeclare tablespace post initdb. For now I just ignore these diffs, but I get a lot of false flags.
Additional context
Worth mentioning that even though there is a difference, the Difference panel doesn't show an instruction.
The text was updated successfully, but these errors were encountered: