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
No SQL is generated in the DDL Comparision for instances where the difference between the Source and Target is a missing column in the Target.
Note: The opposite works correctly - If there is a column in the Target that is not present in the Source then a statement is correctly generated to remove the 'extra' column from the Target.
I am running pgAdmin 8.1 on Windows 11 desktop.
To simply testing I have done the following ...
On Source DB (postgres 14.1) I created the following table:
On Target DB (postgres 14.7), running on a different server, I created the following table:
CREATE TABLE public.atable
(
col1 integer
);
When I run Schema Diff in pgAdmin 8.1 it appears to detect there is a difference but the difference box in the DDL comparison is blank.
The owner is different but I am currently running the Compare with all 4 'ignore' options turned on. If I don't ignore owner, I correctly get the statement to alter the owner but still no statement to add the missing column. Most other kinds of differences are correctly generated but so far it seems that no SQL is generated for missing columns. I use this feature a lot and I believe it worked correctly in the past.
The text was updated successfully, but these errors were encountered:
…g columns. pgadmin-org#7104
Added copy server support, allowing the duplication of existing servers with the option to make certain modifications. pgadmin-org#6085
Fixed review comment
Updated docs
No SQL is generated in the DDL Comparision for instances where the difference between the Source and Target is a missing column in the Target.
Note: The opposite works correctly - If there is a column in the Target that is not present in the Source then a statement is correctly generated to remove the 'extra' column from the Target.
I am running pgAdmin 8.1 on Windows 11 desktop.
To simply testing I have done the following ...
On Source DB (postgres 14.1) I created the following table:
On Target DB (postgres 14.7), running on a different server, I created the following table:
When I run Schema Diff in pgAdmin 8.1 it appears to detect there is a difference but the difference box in the DDL comparison is blank.
The owner is different but I am currently running the Compare with all 4 'ignore' options turned on. If I don't ignore owner, I correctly get the statement to alter the owner but still no statement to add the missing column. Most other kinds of differences are correctly generated but so far it seems that no SQL is generated for missing columns. I use this feature a lot and I believe it worked correctly in the past.
The text was updated successfully, but these errors were encountered: