pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: sbob <sbob@quadratum-braccas.com>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Re: column max length / max timestamps from system tables
Date: Wed, 2 Jun 2021 13:18:24 -0600
Message-ID: <3cf4cc46-c017-a279-dec0-c68a99836bb2@quadratum-braccas.com> (raw)
In-Reply-To: <CAKFQuwZ--+Misi5Li=1658cesYT5e92jR_AcZBEuo7PD8abT6A@mail.gmail.com>
References: <ece3ad60-60fc-fbf2-f790-3739965ae098@quadratum-braccas.com>
	<CAKFQuwZ--+Misi5Li=1658cesYT5e92jR_AcZBEuo7PD8abT6A@mail.gmail.com>

Unfortunately this takes hours since the table has > 500million rows

just wanted to see if there was a shorrtcut / alternate


On 6/2/21 11:13 AM, David G. Johnston wrote:
>
> On Wed, Jun 2, 2021, 10:05 sbob <sbob@quadratum-braccas.com 
> <mailto:sbob@quadratum-braccas.com>> wrote:
>
>     Hi all;
>
>
>     we need to pull the max timestamp for a set of columns and the max
>     string length for another set of columns. Can I get this from system
>     tables? If so, how up to date would it be?
>
>
> No.  Just query the table directly.
>
> David J.
>
>

view thread (9+ messages)  latest in thread

Message-ID: <3cf4cc46-c017-a279-dec0-c68a99836bb2@quadratum-braccas.com>
Permalink:  ../3cf4cc46-c017-a279-dec0-c68a99836bb2@quadratum-braccas.com/
Also on:    postgresql.org/message-id/3cf4cc46-c017-a279-dec0-c68a99836bb2@quadratum-braccas.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: sbob@quadratum-braccas.com, david.g.johnston@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: column max length / max timestamps from system tables
  In-Reply-To: <3cf4cc46-c017-a279-dec0-c68a99836bb2@quadratum-braccas.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox