liquid_feedback_core

view update/core-update.v2.0.1-v2.0.2.sql @ 295:69d6fba0f84c

Use EXCLUSIVE MODE table locks in function "lock_issue"("issue"."id")

Avoids deadlocks caused by explicit FOR UPDATE row locks when updating member statements and implicit FOR SHARE row locks when writing snapshots.
author jbe
date Thu Sep 13 17:02:22 2012 +0200 (2012-09-13)
parents 919d16c8e8e3
children
line source
1 BEGIN;
3 -- update version number:
4 CREATE OR REPLACE VIEW "liquid_feedback_version" AS
5 SELECT * FROM (VALUES ('2.0.2', 2, 0, 2))
6 AS "subquery"("string", "major", "minor", "revision");
8 -- add column "authentication" to table "member":
9 ALTER TABLE "member" ADD COLUMN "authentication" TEXT;
10 COMMENT ON COLUMN "member"."authentication" IS 'Information about how this member was authenticated';
12 COMMIT;

Impressum / About Us