2
SET client_min_messages=ERROR;
5
CREATE OR REPLACE FUNCTION bug_summary_flush_temp_journal() RETURNS VOID
6
LANGUAGE plpgsql VOLATILE AS
11
-- may get called even though no summaries were made (for simplicity in the
13
PERFORM ensure_bugsummary_temp_journal();
14
FOR d IN SELECT * FROM bugsummary_temp_journal LOOP
15
PERFORM bugsummary_journal_ins(d);
17
TRUNCATE bugsummary_temp_journal;
21
COMMENT ON FUNCTION bug_summary_flush_temp_journal() IS
22
'flush the temporary bugsummary journal into the bugsummaryjournal table';
25
INSERT INTO LaunchpadDatabaseRevision VALUES (2208, 75, 1);