Bug#880380: [pkg-horde] Bug#880380: patch correction
Control: forwarded -1 https://github.com/horde/Db/pull/1 Control: tag -1 + upstream 2017-11-21 10:17 GMT+01:00 Ivan Sergio Borgonovo: > Hi, > > finally I got the time to look at it, I saw someone was already working on a > patch. > > I added few comments to the proposed patch. I hope it will get into new > release. OK. We'll wait that the patch is merged. Regards -- Mathieu Parent
Bug#880380: [pkg-horde] Bug#880380: patch correction
Hi, 2017-10-31 2:49 GMT+01:00 Ivan Sergio Borgonovo: > 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); Can you provide this patch as a pull-request in https://github.com/horde/Db? (master and FRAMEWORK_5_2 branch) Thanks -- Mathieu Parent
Bug#880380: patch correction
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