[pkg-horde] Bug#880380: patch correction

Ivan Sergio Borgonovo ivan.s.b at gmail.com
Tue Oct 31 01:49:46 UTC 2017


There is a typo in the patch I submitted previously. It should be:

/usr/share/php/Horde/Db/Adapter/Postgresql/Schema.php

$sql = sprintf('SELECT setval(%s, (SELECT COALESCE(MAX(%s) + (SELECT 
increment_by FROM pg_sequences where schemaname= ANY 
(CURRENT_SCHEMAS(false)) and sequencename=%s), (SELECT min_value FROM 
pg_sequences where schemaname= ANY (CURRENT_SCHEMAS(false)) and 
sequencename=%s)) FROM %s), false)',
                                $quotedSequence,
                                $quotedPk,
                                $quotedSequence,
                                $quotedSequence,
                                $quotedTable);

sorry

-- 
Ivan Sergio Borgonovo
http://www.webthatworks.it http://www.borgonovo.net



More information about the pkg-horde-hackers mailing list