duplicate_template_but_change_delay
authorJason Etheridge <jason@esilibrary.com>
Thu, 6 Aug 2015 03:22:21 +0000 (23:22 -0400)
committerJason Etheridge <jason@esilibrary.com>
Thu, 6 Aug 2015 03:22:21 +0000 (23:22 -0400)
commitd8664b728feca9d94719810d16c76247b9ebf617
tree0ad899074641f8837d1fcd9d0bcd0352bd9c3b1c
parent1d9a3f3aa04c8ac107d00b3dc6d4f4bcca8988f9
duplicate_template_but_change_delay

Let's us get around duplicate key issues in some cases by tweaking the delay as
part of the cloning process.

Example:

    ubuntudeskfx=# SELECT * FROM migration_tools.duplicate_template(5,'{3,4}','00:30:00'::INTERVAL);

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
sql/base/base.sql