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 1kZY3l-000642-DF for pgsql-general@arkaria.postgresql.org; Mon, 02 Nov 2020 11:31:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kZY3k-0007l5-2D for pgsql-general@arkaria.postgresql.org; Mon, 02 Nov 2020 11:31:36 +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 1kZY3j-0007jP-RH for pgsql-general@lists.postgresql.org; Mon, 02 Nov 2020 11:31:35 +0000 Received: from smtp-zimbra.meteo.fr ([137.129.16.22] helo=celebrian1.meteo.fr) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kZY3c-0002Mp-UK for pgsql-general@postgresql.org; Mon, 02 Nov 2020 11:31:35 +0000 Received: from localhost (localhost [127.0.0.1]) by celebrian1.meteo.fr (Postfix) with ESMTP id AAF511C26E8; Mon, 2 Nov 2020 12:31:26 +0100 (CET) Received: from celebrian1.meteo.fr ([127.0.0.1]) by localhost (celebrian1.meteo.fr [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id kG_vgMVeHpdm; Mon, 2 Nov 2020 12:31:26 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by celebrian1.meteo.fr (Postfix) with ESMTP id 8B7E41C26C9; Mon, 2 Nov 2020 12:31:26 +0100 (CET) X-Virus-Scanned: amavisd-new at celebrian1.meteo.fr Received: from celebrian1.meteo.fr ([127.0.0.1]) by localhost (celebrian1.meteo.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ZrkzZviaDa89; Mon, 2 Nov 2020 12:31:26 +0100 (CET) Received: from zumba5.meteo.fr (zumba5 [172.31.9.201]) by celebrian1.meteo.fr (Postfix) with ESMTP id 732F11C26E8; Mon, 2 Nov 2020 12:31:26 +0100 (CET) Date: Mon, 2 Nov 2020 12:31:25 +0100 (CET) From: PALAYRET Jacques To: paras paliya Cc: pgsql-general@postgresql.org Message-ID: <1319325393.24836507.1604316685851.JavaMail.zimbra@meteo.fr> In-Reply-To: References: Subject: Re: Last updated time for a Schema of the table MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=_9fb3e295-59f9-43b7-a3c5-32f7b8d3ace7" X-Originating-IP: [172.31.9.204] X-Mailer: Zimbra 8.7.11_GA_3822 (ZimbraWebClient - FF82 (Win)/8.7.11_GA_3822) Thread-Topic: Last updated time for a Schema of the table Thread-Index: 5jxsivor+6dqlfFfJpx64RbEWEvYEQ== List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --=_9fb3e295-59f9-43b7-a3c5-32f7b8d3ace7 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello,=20 I don't think so, as far as I know.=20 But, you can put in place some triggesr to do that.=20 i.e. https://www.postgresql.org/docs/13/plpgsql-trigger.html https://wiki.p= ostgresql.org/wiki/Audit_trigger=20 and so on=20 Regards=20 De: "paras paliya" =20 =C3=80: pgsql-general@postgresql.org=20 Envoy=C3=A9: Lundi 2 Novembre 2020 10:53:06=20 Objet: Last updated time for a Schema of the table=20 Hi All,=20 I need the last updated time or alter time of the table. Like changing the = column name or adding/deleting a column. Is there any table or view from wh= ich I can get?=20 Thanks,=20 Paras=20 --=_9fb3e295-59f9-43b7-a3c5-32f7b8d3ace7 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hello,

I don't think so, as far as I know.
But, you can put in place some triggesr to do that.
i.e. https://www.postgresql.org/docs/13/plpgsql-t= rigger.html  https://wiki.postgresql.org/wiki/Audit_trigger
and so on

<= /div>
Regards

De: "paras paliya= " <paliya.paras@gmail.com>
=C3=80: pgsql-general@postgresql= .org
Envoy=C3=A9: Lundi 2 Novembre 2020 10:53:06
Objet: Last updated time for a Schema of the table

Hi All,
I need the = last updated time or alter time of the table. Like changing the column name= or adding/deleting a column. Is there any table or view from which I can g= et?

Thanks,
Paras

--=_9fb3e295-59f9-43b7-a3c5-32f7b8d3ace7--