Hi, 2017-10-31 2:49 GMT+01:00 Ivan Sergio Borgonovo <ivan....@gmail.com>: > 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