pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michel SALAIS <msalais@msym.fr>
To: 'sbob' <sbob@quadratum-braccas.com>
To: pgsql-admin@lists.postgresql.org
Subject: RE: column max length / max timestamps from system tables
Date: Wed, 2 Jun 2021 23:44:11 +0200
Message-ID: <022e01d757f8$6d1dbb90$475932b0$@msym.fr> (raw)
In-Reply-To: <ece3ad60-60fc-fbf2-f790-3739965ae098@quadratum-braccas.com>
References: <ece3ad60-60fc-fbf2-f790-3739965ae098@quadratum-braccas.com>

Hi,
I am not sure that I understand well what you want...
Have you several columns in the same table of type TIMESTAMP and you want the max of all of them?

Same thing for the length of string columns?


Michel SALAIS
-----Message d'origine-----
De : sbob <sbob@quadratum-braccas.com> 
Envoyé : mercredi 2 juin 2021 19:05
À : pgsql-admin@lists.postgresql.org
Objet : column max length / max timestamps from system tables

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?


Thanks in advance









view thread (9+ messages)

Message-ID: <022e01d757f8$6d1dbb90$475932b0$@msym.fr>
Permalink:  ../022e01d757f8$6d1dbb90$475932b0$@msym.fr/
Also on:    postgresql.org/message-id/022e01d757f8$6d1dbb90$475932b0$@msym.fr

 · 

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: msalais@msym.fr, sbob@quadratum-braccas.com, pgsql-admin@lists.postgresql.org
  Subject: RE: column max length / max timestamps from system tables
  In-Reply-To: <022e01d757f8$6d1dbb90$475932b0$@msym.fr>

* 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