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) |
Ответы |
Re: [GENERAL] Table create time
|
Список | pgsql-general |
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 <path to your cluster>/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 по дате отправления: