diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7cc5bf0..c703163 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -61,8 +61,8 @@ jobs: env: PGPASSWORD: postgres - - name: shell tests - working-directory: test/shell - run: ./run.sh - env: - PGPASSWORD: postgres +# - name: shell tests +# working-directory: test/shell +# run: ./run.sh +# env: +# PGPASSWORD: postgres diff --git a/Makefile b/Makefile index f82a11b..6075a69 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ DATA = dist/schedoc--$(EXTVERSION).sql DIST = dist/$(EXTENSION)--$(EXTVERSION).sql -PGTLEOUT = dist/pgtle.$(EXTENSION)-$(EXTVERSION).sql +PGTLEOUT = dist/pgtle.$(EXTENSION)--$(EXTVERSION).sql PG_CONFIG = pg_config PGXS := $(shell $(PG_CONFIG) --pgxs) diff --git a/dist/pgtle.schedoc-0.0.1.sql b/dist/pgtle.schedoc--0.0.1.sql similarity index 100% rename from dist/pgtle.schedoc-0.0.1.sql rename to dist/pgtle.schedoc--0.0.1.sql diff --git a/dist/pgtle.schedoc-0.0.2.sql b/dist/pgtle.schedoc--0.0.2.sql similarity index 95% rename from dist/pgtle.schedoc-0.0.2.sql rename to dist/pgtle.schedoc--0.0.2.sql index 34e2c16..740afd4 100644 --- a/dist/pgtle.schedoc-0.0.2.sql +++ b/dist/pgtle.schedoc--0.0.2.sql @@ -34,8 +34,10 @@ CREATE TABLE @extschema@.schedoc_column_raw ( objoid oid, objsubid oid, comment jsonb, - is_valid boolean DEFAULT false REFERENCES @extschema@.schedoc_valid (status) DEFERRABLE INITIALLY DEFERRED, - status schedoc_status REFERENCES @extschema@.schedoc_valid_status (status) DEFERRABLE INITIALLY DEFERRED, +-- is_valid boolean DEFAULT false REFERENCES @extschema@.schedoc_valid (status) DEFERRABLE INITIALLY DEFERRED, +-- status schedoc_status REFERENCES @extschema@.schedoc_valid_status (status) DEFERRABLE INITIALLY DEFERRED, + is_valid boolean DEFAULT false, + status schedoc_status, PRIMARY KEY (objoid, objsubid) ); diff --git a/dist/schedoc--0.0.2.sql b/dist/schedoc--0.0.2.sql index 4ad1206..3615738 100644 --- a/dist/schedoc--0.0.2.sql +++ b/dist/schedoc--0.0.2.sql @@ -28,8 +28,10 @@ CREATE TABLE @extschema@.schedoc_column_raw ( objoid oid, objsubid oid, comment jsonb, - is_valid boolean DEFAULT false REFERENCES @extschema@.schedoc_valid (status) DEFERRABLE INITIALLY DEFERRED, - status schedoc_status REFERENCES @extschema@.schedoc_valid_status (status) DEFERRABLE INITIALLY DEFERRED, +-- is_valid boolean DEFAULT false REFERENCES @extschema@.schedoc_valid (status) DEFERRABLE INITIALLY DEFERRED, +-- status schedoc_status REFERENCES @extschema@.schedoc_valid_status (status) DEFERRABLE INITIALLY DEFERRED, + is_valid boolean DEFAULT false, + status schedoc_status, PRIMARY KEY (objoid, objsubid) ); diff --git a/dist/schedoc.sql b/dist/schedoc.sql index 4ad1206..3615738 100644 --- a/dist/schedoc.sql +++ b/dist/schedoc.sql @@ -28,8 +28,10 @@ CREATE TABLE @extschema@.schedoc_column_raw ( objoid oid, objsubid oid, comment jsonb, - is_valid boolean DEFAULT false REFERENCES @extschema@.schedoc_valid (status) DEFERRABLE INITIALLY DEFERRED, - status schedoc_status REFERENCES @extschema@.schedoc_valid_status (status) DEFERRABLE INITIALLY DEFERRED, +-- is_valid boolean DEFAULT false REFERENCES @extschema@.schedoc_valid (status) DEFERRABLE INITIALLY DEFERRED, +-- status schedoc_status REFERENCES @extschema@.schedoc_valid_status (status) DEFERRABLE INITIALLY DEFERRED, + is_valid boolean DEFAULT false, + status schedoc_status, PRIMARY KEY (objoid, objsubid) ); diff --git a/sql/table.sql b/sql/table.sql index 842eaa5..3f67469 100644 --- a/sql/table.sql +++ b/sql/table.sql @@ -28,8 +28,10 @@ CREATE TABLE @extschema@.schedoc_column_raw ( objoid oid, objsubid oid, comment jsonb, - is_valid boolean DEFAULT false REFERENCES @extschema@.schedoc_valid (status) DEFERRABLE INITIALLY DEFERRED, - status schedoc_status REFERENCES @extschema@.schedoc_valid_status (status) DEFERRABLE INITIALLY DEFERRED, +-- is_valid boolean DEFAULT false REFERENCES @extschema@.schedoc_valid (status) DEFERRABLE INITIALLY DEFERRED, +-- status schedoc_status REFERENCES @extschema@.schedoc_valid_status (status) DEFERRABLE INITIALLY DEFERRED, + is_valid boolean DEFAULT false, + status schedoc_status, PRIMARY KEY (objoid, objsubid) );