SELECT "issue".*, justify_interval(min_admission_time)::text AS "min_admission_time_text", justify_interval(max_admission_time)::text AS "max_admission_time_text", justify_interval(discussion_time)::text AS "discussion_time_text", justify_interval(verification_time)::text AS "verification_time_text", justify_interval(voting_time)::text AS "voting_time_text", justify_interval(coalesce(issue.fully_frozen + issue.voting_time, issue.half_frozen + issue.verification_time, issue.accepted + issue.discussion_time, issue.created + issue.max_admission_time) - now()) AS "state_time_left", justify_interval(now() - issue.closed) AS "closed_ago" FROM "issue" WHERE (id = 92) LIMIT 1; 2.6 ms
SELECT "area".* FROM "area" WHERE ("area"."id" IN (15)); 0.8 ms
SELECT "policy".*, justify_interval(min_admission_time)::text AS "min_admission_time_text", justify_interval(max_admission_time)::text AS "max_admission_time_text", justify_interval(discussion_time)::text AS "discussion_time_text", justify_interval(verification_time)::text AS "verification_time_text", justify_interval(voting_time)::text AS "voting_time_text" FROM "policy" WHERE ("policy"."id" IN (17)); 0.9 ms
SELECT "unit".* FROM "unit" WHERE ("unit"."id" IN (23)); 0.8 ms
SELECT "initiative".* FROM "initiative" WHERE ("initiative"."issue_id" IN (92)) ORDER BY initiative.admitted DESC NULLS LAST, initiative.rank NULLS LAST, initiative.harmonic_weight DESC NULLS LAST, id; 1.5 ms
SELECT "draft".* FROM "draft" WHERE ("initiative_id" = 110) ORDER BY "id" DESC LIMIT 1; 0.7 ms
SELECT "member".*, "initiator"."initiative_id" AS "mm_ref_", initiator.accepted AS "accepted" FROM "member" INNER JOIN "initiator" ON "initiator"."member_id" = "member"."id" WHERE ("initiator"."initiative_id" IN (110)) AND (initiator.accepted) ORDER BY member.name; 1.8 ms
SELECT count(1) FROM (SELECT "member".*, direct_interest_snapshot."issue_id" AS "mm_ref_", direct_interest_snapshot.ownweight, direct_interest_snapshot.weight, member.id = ANY(_member_list__delegating_interest.delegate_member_ids) AS "in_delegation_chain" FROM "member" INNER JOIN direct_interest_snapshot ON direct_interest_snapshot."member_id" = "member"."id" INNER JOIN issue ON issue.id = direct_interest_snapshot.issue_id LEFT OUTER JOIN delegating_interest_snapshot AS "_member_list__delegating_interest" ON _member_list__delegating_interest.snapshot_id = issue.latest_snapshot_id AND _member_list__delegating_interest.issue_id = issue.id AND _member_list__delegating_interest.member_id = NULL WHERE (direct_interest_snapshot."issue_id" IN (92)) AND (direct_interest_snapshot.snapshot_id = issue.latest_snapshot_id) AND (member.activated NOTNULL)) AS "subquery" LIMIT 1; 5.9 ms
SELECT "member".*, direct_interest_snapshot."issue_id" AS "mm_ref_", direct_interest_snapshot.ownweight, direct_interest_snapshot.weight, member.id = ANY(_member_list__delegating_interest.delegate_member_ids) AS "in_delegation_chain" FROM "member" INNER JOIN direct_interest_snapshot ON direct_interest_snapshot."member_id" = "member"."id" INNER JOIN issue ON issue.id = direct_interest_snapshot.issue_id LEFT OUTER JOIN delegating_interest_snapshot AS "_member_list__delegating_interest" ON _member_list__delegating_interest.snapshot_id = issue.latest_snapshot_id AND _member_list__delegating_interest.issue_id = issue.id AND _member_list__delegating_interest.member_id = NULL WHERE (direct_interest_snapshot."issue_id" IN (92)) AND (direct_interest_snapshot.snapshot_id = issue.latest_snapshot_id) AND (member.activated NOTNULL) LIMIT 100 OFFSET 0; 1.3 ms