Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 588ED200B40 for ; Thu, 2 Jun 2016 03:52:17 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 570F4160A4E; Thu, 2 Jun 2016 01:52:17 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9D661160A4C for ; Thu, 2 Jun 2016 03:52:16 +0200 (CEST) Received: (qmail 79590 invoked by uid 500); 2 Jun 2016 01:52:15 -0000 Mailing-List: contact user-help@manifoldcf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@manifoldcf.apache.org Delivered-To: mailing list user@manifoldcf.apache.org Received: (qmail 79580 invoked by uid 99); 2 Jun 2016 01:52:15 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2016 01:52:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 0E34218046E for ; Thu, 2 Jun 2016 01:52:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.571 X-Spam-Level: X-Spam-Status: No, score=-0.571 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id BPAmzJn_4chk for ; Thu, 2 Jun 2016 01:52:14 +0000 (UTC) Received: from mail-oi0-f46.google.com (mail-oi0-f46.google.com [209.85.218.46]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 04BA95F4E6 for ; Thu, 2 Jun 2016 01:52:13 +0000 (UTC) Received: by mail-oi0-f46.google.com with SMTP id k23so56231492oih.0 for ; Wed, 01 Jun 2016 18:52:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=R7QJYGJhE15VFvycRGj+suLWqxlqLGg6u10GDqR/fs4=; b=XjzJeb9Gh2arsPQJPsRifMGfqZeySpTS55hlOWgOJDs9Y/OiACFHSa360/fLnVNX1v 5VkK0tIjiN8uO9C63yqqbvko4OaKsoPA2+sJi+d6vsebo00EoPR9+/jm7q/X2QH+RSTb qtJs3R3dqeBwQmML/gZnr6kaLAn3xmCHcqNcAeCQbDGHeCVbSjH27vj43Vi+mRiGgRf3 jvqJqfe+hxtuw7Pg2LkgaISVLh/5RPVOaNPcBN5/57B7Z2hy0ZLd28gSTgXp8Wm1iS/Y 7nSKw5lBrf1aUzSNCfkYEzeU23Z7O7VAvSx1I2jbN+icCgPjWTr/JmNeHOAN7jHzsnTv Sy1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=R7QJYGJhE15VFvycRGj+suLWqxlqLGg6u10GDqR/fs4=; b=C9wtQJtYWxE8zeKHIR86ClbbG3SjJVblQ1PeOqrKKncHJjS3teVe5I5AYcFyuWlO38 Kyaw13KfR8WnWdbA+8f8b4QMnIgUd6K2mtwRbYJobYJTGWKo1KFwGSffJeq1KaYtBGUr +2+tW2Y8QYONfrtKNwAA0Rk61cHfdmQeSJXtwxadD4nQYs/kkWO3iUyD68OEGReJLWSP xL27am9IjHguqte5wP3AJihtGKQmWudK2BCcJiNkLR37yIrkz3X88ZG8gwS4Swaw8v8c a0m4N/w8yGSS5VQUMm6hWvJo37CxwiWLK+y2O5KfKBdJE4nWYYjYaQrUJJKLqol6t1sC /9jA== X-Gm-Message-State: ALyK8tJRwjsWYIVpbpavBbYgIaBo0a08+lzxNJOJ6QNK2wobKRmYOC/nc/3FC77YMQ0/Cbn99WzlzAavLO9zGg== MIME-Version: 1.0 X-Received: by 10.202.206.88 with SMTP id e85mr25540185oig.90.1464832332830; Wed, 01 Jun 2016 18:52:12 -0700 (PDT) Received: by 10.157.13.18 with HTTP; Wed, 1 Jun 2016 18:52:12 -0700 (PDT) Date: Thu, 2 Jun 2016 10:52:12 +0900 Message-ID: Subject: SQLException "value too long for type character varying(64)" while deleting documents From: Tomoko Uchida To: user@manifoldcf.apache.org Content-Type: text/plain; charset=UTF-8 archived-at: Thu, 02 Jun 2016 01:52:17 -0000 Hello, I encountered an SQLException when I deleted a job with many output connections. ERROR 2016-06-02 09:41:49,492 (Document delete thread '9') - Document delete thread aborting and restarting due to database connection reset: Database exception: SQLException doing query (22001): ERROR: value too long for type character varying(64) I've found that the error occurred because of ManifoldCF trying to insert long string (more than 64 characters) to 'activitytype' column of 'repohistory' table while deleting documents associated with the job. For a trial, I altered 'activitytype' column type to 'text' by this sentence, and restarted ManifoldCF. alter table repohistory alter column activitytype TYPE text; Then the deletion histories was successfully added and the job seemed to be safely deleted. Inserted 'activitytype' values are like this: document deletion (outputA) (outputB) (outputC) (outputD) (outputE) ... For application requirements, I cannot limit the number of output connectors (to shorten history records.) Is that OK? Or there are good solutions for that. Thank you, Tomoko