Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fVe23-0004T6-Rl for pgsql-general@arkaria.postgresql.org; Wed, 20 Jun 2018 14:24:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fVe20-0006Bc-8Y for pgsql-general@arkaria.postgresql.org; Wed, 20 Jun 2018 14:24:20 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fVe1z-0006BS-U7 for pgsql-general@lists.postgresql.org; Wed, 20 Jun 2018 14:24:20 +0000 Received: from mail-qt0-x229.google.com ([2607:f8b0:400d:c0d::229]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fVe1w-0001oa-Pr for pgsql-general@postgresql.org; Wed, 20 Jun 2018 14:24:19 +0000 Received: by mail-qt0-x229.google.com with SMTP id l33-v6so3039585qta.11 for ; Wed, 20 Jun 2018 07:24:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=GiVd0gvgQIRRSMSKN1ccRxJFis/LM9EFSYhf9nMApAs=; b=jf+WyJohCZanKeJFOVLgXObqtQOyAelk1dhxE9su1tNlAC1ueITG6symaSS8Dx5to+ 2UW3Y5WDeoYvTzRnv0HYePExyNcwsUMJAUwF1RvaiqJzTHPAhgM1YJU4h3tTz2P6VG/D hc2U2qNNh/aM4aRSi1+HcP2qyxJWtS3Vu9IukqKy2bLxljcHNoWZ5S5tDJgMX23Jm6rM xdg2cL0ORcMGmcVAM1Mh1b370412LBIN7RoUZu+giOmD64O3mPnAd9DnmspMnCV7j8VW +axdU/k5aXbwNSu4czqDl6mK9MFs7DEeBJRIAVHJmTrmlazqwlhd9vID28V5ChpRp7SP 8t6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=GiVd0gvgQIRRSMSKN1ccRxJFis/LM9EFSYhf9nMApAs=; b=kp09/YeokUo6RVxeZ+Yor/o8wCT/VTzvA75btOWIWRzO9SE3mC+SI/gtZ3kTob+LkJ EUf5lZ0zk1aMA6vZuIgaPFOXijfwvT8Z5x6MX47Ia/pqBMnY4QOkYVuELJqj5YvagOhD 9RO2NtlJqiefpcWx4yb7kI2Flg0OmfqpKTjs1r7N0PQWbKaPSUualxQTitVUlGcPVnNA LgGa7i8qCeQ6BeUDJSh0lEDarmA8AJaPL/MLiNtqjf/E9K91v7qQLu6xa2AbnVV1KVzK 07KuFqUuTBQ73htTUbPkMmREo1nIN/0nUhKYcV7svFtP3yP7pstuauBCgDbDBf4vRS3R TrLA== X-Gm-Message-State: APt69E2GVvU0Xy66OSLv42X74rrEfuZEhETsgi0iGACOooztrmOzIFCx CvuzTX7lF0kWZ40bVVUV3X/Ao4Dx X-Google-Smtp-Source: ADUXVKKKWHBk7iiakyDwxSdb3R9Qs3VG1JeG6yrEGF1wbbafHx5NnUVzW82r5rOl0w2Gru10svnsGg== X-Received: by 2002:ac8:3212:: with SMTP id x18-v6mr18995428qta.44.1529504654531; Wed, 20 Jun 2018 07:24:14 -0700 (PDT) Received: from [192.168.213.53] ([38.142.23.50]) by smtp.gmail.com with ESMTPSA id l5-v6sm2020081qtl.58.2018.06.20.07.24.13 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Jun 2018 07:24:13 -0700 (PDT) From: Jonathan Marks Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Subject: tsvector field length limitation Message-Id: <5A4EDC33-60F6-4998-AA8D-9B2ED615D87C@gmail.com> Date: Wed, 20 Jun 2018 10:24:13 -0400 To: pgsql-general@postgresql.org X-Mailer: Apple Mail (2.3445.5.20) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi folks =E2=80=94 We utilize Postgres=E2=80=99 full text search system pretty heavily in = our team=E2=80=99s operations and often index tens of millions of = records with varying lengths of text. In most cases, the text we need to = index is pretty short (no more than. hundreds of words) but in rare = cases a single record is very very long (high hundreds of thousands of = words or longer). With those records, we run into the max tsvector = length requirement "The length of a tsvector (lexemes + positions) must = be less than 1 megabyte=E2=80=9D I understand the performance implications of having very long tsvectors = (our gin index updates are pretty terrible in some cases) but would = really appreciate it if the max tsvector length were larger (even 5MB = would make a huge difference) or if that error were a stern warning = rather than a hard error. Is there any way to disable or increase that limit in Postgres 10.3? = Perhaps in a future version? Thank you! Jonathan=