install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
);
-INSERT INTO config.upgrade_log (version) VALUES ('0219'); -- Scott McKellar
+INSERT INTO config.upgrade_log (version) VALUES ('0220); -- Scott McKellar
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
( type IN ( 'SELECT', 'UNION', 'INTERSECT', 'EXCEPT' ) ),
use_all BOOLEAN NOT NULL DEFAULT FALSE,
use_distinct BOOLEAN NOT NULL DEFAULT FALSE,
- from_clause INT NOT NULL , --REFERENCES query.from_clause
- where_clause INT , --REFERENCES query.expression
+ from_clause INT, --REFERENCES query.from_clause
+ --DEFERRABLE INITIALLY DEFERRED,
+ where_clause INT, --REFERENCES query.expression
--DEFERRABLE INITIALLY DEFERRED,
having_clause INT --REFERENCES query.expression
--DEFERRABLE INITIALLY DEFERRED