You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug description
The diff generates a false positive on a column with a default value that is an expression which is a function with a quoted name. Possibly this is limited to quoted schema names.
There's no need to double-quote the test2 schema name in the default value of the column, that's why you're having that result.
If you import the model after exporting it, you'll see that the default value of the column will be test2."getNextId()". That's because PostgreSQL completely ignores the double quotes in test2. I agree that pgModeler should not bother with the double quotes in default expressions, but this field isn't used only for function calls and may contain a string that the double quotes are necessary and can change the semantics of the value. That's why pgModeler doesn't ignore the double quotes in the diff process.
Bug description
The diff generates a false positive on a column with a default value that is an expression which is a function with a quoted name. Possibly this is limited to quoted schema names.
How to reproduce
test3.dbm.zip
The diff generates a false positive on the
id
column which as a default value of "test2"."getNextId"():Expected behavior
Since the model has not been changed the diff should yield no result.
Info about your desktop
OS: Linux Mint
Version: 21.1
Window manager: Cinnamon
pgModeler version: 1.1.0
Qt version: 6.2.4
The text was updated successfully, but these errors were encountered: