Re: How to find table creation time

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема Re: How to find table creation time
Дата
Msg-id 1396712697.2641.1.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: How to find table creation time  (reiner peterke <zedaardv@drizzle.com>)
Список pgsql-admin
On Sat, 2014-04-05 at 08:26 +0200, reiner peterke wrote:
> Hi,
>
> Unfortunately not. This is a feature that is lacking in postgres.
>
> One could always look at the file node times, but this is unreliable too, as  an operation like a vacuum full will
createa new file node. 
> I haven't found a good way to work around this either.
>

I don't think it would be quite difficult to create an extension that
uses a hook to record the timestamp when a user creates a table.
Something like what was done around CREATE EXTENSION to allow adding
some extensions but not all, according to a white list.


--
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com



В списке pgsql-admin по дате отправления:

Предыдущее
От: reiner peterke
Дата:
Сообщение: Re: How to find table creation time
Следующее
От: Murthy Nunna
Дата:
Сообщение: Cascade Standby - [FATAL: the database system is starting up]