Re: [GENERAL] Table create time

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [GENERAL] Table create time
Дата
Msg-id 9055.1504192759@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [GENERAL] Table create time  (Melvin Davidson <melvin6925@gmail.com>)
Ответы Re: [GENERAL] Table create time
Список pgsql-general
Melvin Davidson <melvin6925@gmail.com> writes:
> Wolfgang, as David said, a column in pg_class for the creation time of a
> table does not exist. I long ago requested that feature as it is
> in other DB's (Oracle & MS SQL Server), but the main reason that it was not
> done was that no one was interested in doing it.

No, I'd say the big reason it hasn't happened is lack of consensus on
details of how the feature should work --- notably, ought the creation
date be preserved across a dump/restore?  Doing that would require
exposing some method to set the creation date from SQL, whereupon it loses
value for some purposes because you can never be sure that what you're
looking at is the "real" date and not something somebody frobbed later.
OTOH, losing all your creation date info during dump/restore is annoying
too.

            regards, tom lane


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [GENERAL] Table create time
Следующее
От: Melvin Davidson
Дата:
Сообщение: Re: [GENERAL] Table create time