Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1loXXb-0007GE-Ab for pgsql-admin@arkaria.postgresql.org; Wed, 02 Jun 2021 20:32:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1loXXa-0001Pz-06 for pgsql-admin@arkaria.postgresql.org; Wed, 02 Jun 2021 20:32:38 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1loXXZ-0001Pq-NV for pgsql-admin@lists.postgresql.org; Wed, 02 Jun 2021 20:32:37 +0000 Received: from mailout.easymail.ca ([64.68.200.34]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1loXXX-0003ZS-Nd for pgsql-admin@lists.postgresql.org; Wed, 02 Jun 2021 20:32:37 +0000 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 0B149A694F; Wed, 2 Jun 2021 20:32:33 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo05-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo05-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FBnE_i3asUpr; Wed, 2 Jun 2021 20:32:32 +0000 (UTC) Received: from smtpclient.apple (unknown [4.28.96.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 388ADA6951; Wed, 2 Jun 2021 20:32:30 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.80.0.2.43\)) Subject: Re: column max length / max timestamps from system tables From: Scott Ribe In-Reply-To: <06f401d757e9$fe3b13c0$fab13b40$@co.uk> Date: Wed, 2 Jun 2021 14:32:30 -0600 Cc: Pgsql-admin Content-Transfer-Encoding: quoted-printable Message-Id: <8CE52907-2264-43BA-9E90-DDC5F0E28109@elevated-dev.com> References: <3cf4cc46-c017-a279-dec0-c68a99836bb2@quadratum-braccas.com> <06f401d757e9$fe3b13c0$fab13b40$@co.uk> To: sbob X-Mailer: Apple Mail (2.3654.80.0.2.43) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Jun 2, 2021, at 2:00 PM, = wrote: >=20 > For the other column I=E2=80=99m guessing more work has to be done = finding the length for each row. Maybe maintaining a column containing = the current length for each row would help? or a functional index