NAME

bif-doc-func-change-task - change a task topic

VERSION

0.1.4 (2014-10-27)

SYNOPSIS

BEGIN;

INSERT INTO changes(...);

INSERT INTO func_update_task(
    change_id,  -- integer NOT NULL DEFAULT (currval('changes')),
    id,         -- integer NOT NULL DEFAULT (nextval('topics')),
    status_id,  -- integer
    title       -- varchar
) VALUES (...);

INSERT INTO func_merge_changes DEFAULT VALUES;

COMMIT;

DESCRIPTION

func_update_task() adds a task change to an in-progress change, by inserting a row into task_deltas. As it just passes the values straight through this function is possibly a candidate for deletion.

AFFECTED TABLES

A successful call to func_update_task directly affects the following tables:

SEE ALSO

bif-doc-table-changes, bif-doc-table-tasks, bif-doc-func-merge-changes

AUTHOR

Mark Lawrence <nomad@null.net>

COPYRIGHT AND LICENSE

Copyright 2013-2014 Mark Lawrence <nomad@null.net>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.