Re: [GENERAL] Table create time

Поиск
Список
Период
Сортировка
Искать
От
Achilleas Mantzios
Тема
Re: [GENERAL] Table create time
Дата
Msg-id
e7ee444d-ce9b-005a-7692-fcf9527c128b@matrix.gatewaynet.com
Ответ на
[GENERAL] Table create time (hamann.w@t-online.de)
Список
Дерево обсуждения
[GENERAL] Table create time hamann.w@t-online.de
Re: [GENERAL] Table create time "Charles Clavadetscher" <clavadetscher@swisspug.org>
Re: [GENERAL] Table create time "David G. Johnston" <david.g.johnston@gmail.com>
Re: [GENERAL] Table create time Melvin Davidson <melvin6925@gmail.com>
Re: [GENERAL] Table create time Tom Lane <tgl@sss.pgh.pa.us>
Re: [GENERAL] Table create time Melvin Davidson <melvin6925@gmail.com>
Re: [GENERAL] Table create time Michael Paquier <michael.paquier@gmail.com>
Re: [GENERAL] Table create time Melvin Davidson <melvin6925@gmail.com>
Re: [GENERAL] Table create time Achilleas Mantzios <achill@matrix.gatewaynet.com>
Re: [GENERAL] Table create time Melvin Davidson <melvin6925@gmail.com>
Re: [GENERAL] Table create time Melvin Davidson <melvin6925@gmail.com>
Re: [GENERAL] Table create time Michael Paquier <michael.paquier@gmail.com>
Re: [GENERAL] Table create time Achilleas Mantzios <achill@matrix.gatewaynet.com>
Re: [GENERAL] Table create time hamann.w@t-online.de
Re: [GENERAL] Table create time Achilleas Mantzios <achill@matrix.gatewaynet.com>
Re: [GENERAL] Table create time Achilleas Mantzios <achill@matrix.gatewaynet.com>
On 31/08/2017 09:56, hamann.w@t-online.de wrote:
> Hi,
>
> is there a way to add a table create (and perhaps schema modify) timestamp to the system?
> I do occasionally create semi-temporary tables (meant to live until a problem is solved, i.e. longer
> than a session) with conveniently short names.
In FreeBSD you'd do smth like this to find the file creation time :
ls -lU /data/PG_9.3_201306121/16425/12344

where 12344 is the filenode of the relation in question. In ext4 you may do this albeit with more difficulty.

> Also, is there a simple query to identify tables without a table comment? (so a weekly cron
> could remind me of tables that are already a few days old but have no explanatory comment)
>
> I am running PG 9.3
>
> Best regards
> Wolfgang Hamann
>
>
>
>

-- 
Achilleas Mantzios
IT DEV Lead
IT DEPT
Dynacom Tankers Mgmt


В списке pgsql-general по дате отправления
От: Charles Clavadetscher
Дата:
От: Condor
Дата:
FAQ