Re: [GENERAL] relation create time

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [GENERAL] relation create time
Дата
Msg-id 804200a3-3722-ec73-60b1-3c1bfd0b3422@2ndquadrant.com
обсуждение исходный текст
Ответ на [GENERAL] relation create time  ("Hu, Patricia" <Patricia.Hu@finra.org>)
Ответы Re: [GENERAL] relation create time  ("Hu, Patricia" <Patricia.Hu@finra.org>)
Re: [GENERAL] relation create time  (Melvin Davidson <melvin6925@gmail.com>)
Список pgsql-general
On 5/10/17 12:05, Hu, Patricia wrote:
> I am trying to find out when a table was created in postgresql. Thought
> it would be easy (coming from Oracle world), but haven’t had any luck,
> especially since we are on RDS and can’t peek at the timestamp on the
> file system. Is this information stored anywhere in the catalog?

It is not.

> Or I
> need to store it myself? Is there any plan to add such meta data
> information to the catalog as a feature? Thanks a lot!

You could write an event trigger to record it.

--
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [GENERAL] character encoding of the postgres database
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: [GENERAL] Upgrading postgresql minor version