DROP SCHEMA IF EXISTS test_enum CASCADE;
CREATE SCHEMA test_enum;
SET search_path TO test_enum;
CREATE TYPE test AS ENUM ('one', 'two');
Add value to enum ALTER TYPE test ADD VALUE 'three';. Execute yamltodb with our previously generated yaml yeilds a empty result. Dropping the type produces the CREATE TYPE expression you'd expect so it seems this type of DDL is covered by Pyrseas.
ALTER TYPE test ADD VALUE 'three';
Pyrseas 0.7.1, postgres 9.2.6
The ALTER TYPE name ADD VALUE statement was added in Postgres 9.1 (Sept 2011) and support for enums was added in Pyrseas 0.3 (June 2011). Due to an oversight, we still don't compare enum values and hence this failure.
Closed by mistake.
I can confirm this.