liquid_feedback_core
annotate update/core-update.v1.2.6-v1.2.7.sql @ 336:a7537038640d
Cleanup of new code for allowing "lf_update" to run without extensive locking
- Removed unnecessary variable "direct_voter_update_v" in function "forbid_changes_on_closed_issue_trigger"()
- Added PERFORM "require_transaction_isolation"() in more functions
- Integrated functions "issue_admission", "initiative_admission" and "freeze_after_snapshot" into "check_issue" function
- Removed function "manual_freeze" (replacement: set "issue" timings accordingly, when needed)
- Added/modified some comments
- Removed unnecessary variable "direct_voter_update_v" in function "forbid_changes_on_closed_issue_trigger"()
- Added PERFORM "require_transaction_isolation"() in more functions
- Integrated functions "issue_admission", "initiative_admission" and "freeze_after_snapshot" into "check_issue" function
- Removed function "manual_freeze" (replacement: set "issue" timings accordingly, when needed)
- Added/modified some comments
author | jbe |
---|---|
date | Wed Feb 20 02:56:49 2013 +0100 (2013-02-20) |
parents | dcaa1525c388 |
children |
rev | line source |
---|---|
jbe@72 | 1 BEGIN; |
jbe@72 | 2 |
jbe@72 | 3 CREATE OR REPLACE VIEW "liquid_feedback_version" AS |
jbe@72 | 4 SELECT * FROM (VALUES ('1.2.7', 1, 2, 7)) |
jbe@72 | 5 AS "subquery"("string", "major", "minor", "revision"); |
jbe@72 | 6 |
jbe@72 | 7 DROP VIEW "global_delegation"; |
jbe@72 | 8 |
jbe@72 | 9 CREATE VIEW "global_delegation" AS |
jbe@72 | 10 SELECT "id", "truster_id", "trustee_id" |
jbe@72 | 11 FROM "active_delegation" WHERE "scope" = 'global'; |
jbe@72 | 12 |
jbe@72 | 13 COMMIT; |