Re: Creation date of postgres database

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: Creation date of postgres database
Дата
Msg-id 20060330123319.GA19104@winnie.fuhr.org
обсуждение исходный текст
Ответ на Re: Creation date of postgres database  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-admin
On Thu, Mar 30, 2006 at 05:27:12AM -0700, Michael Fuhr wrote:
> Try a command like the following:
>
> % ls -lt $PGDATA/base/*/PG_VERSION
>
> You should see that each database has a copy of this file and that
> each file has a different modification time (some might be within
> a few seconds of each other if databases were created around the
> same time, such as during a restore).
>
> Is this not what you're looking for?

Are you looking for a creation time that would persist across
dump/drop/restore?  In that case I don't think it's available.

--
Michael Fuhr

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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: Creation date of postgres database
Следующее
От: Pradeep Sharma
Дата:
Сообщение: Re: Creation date of postgres database