apgdiff icon indicating copy to clipboard operation
apgdiff copied to clipboard

Incorrect output when only inheriting a table

Open vektor330 opened this issue 10 years ago • 1 comments

Suppose I have a table ENUM with 2 columns, ID and TEXT, used as a muster for "master tables".

Suppose I add a table ENUM_whatever_TYPES: CREATE TABLE "ENUM_whatever_TYPES" () INHERITS ("ENUM"); So this new table is just inheriting, not adding any new columns.

If I diff this, I get: CREATE TABLE "ENUM_whatever_TYPES" ) INHERITS (ENUM);

You will notice that there are 2 problems: the opening parenthesis is missing, and the table name is missing quotation marks.

vektor330 avatar Mar 27 '14 11:03 vektor330

The problem with the missed parenthesis is gone.

avbasov avatar Jan 20 '16 15:01 avbasov