| От | Adrian Klaver |
|---|---|
| Тема | Re: Get the date of creation of objects in the database |
| Дата | |
| Msg-id | 56CB87B2.3020009@aklaver.com обсуждение исходный текст |
| Ответ на | Get the date of creation of objects in the database ("Edson F. Lidorio" <edson@openmailbox.org>) |
| Список | pgsql-general |
On 02/22/2016 02:00 PM, Edson F. Lidorio wrote: > Hello, > > How to get the date of creation of objects in batabase? > For example: The date of creation of tables and trigger. AFAIK that is not recorded by default. If you are using Postgres 9.3+ you could roll your own audit system, going forward, using event triggers: http://www.postgresql.org/docs/9.5/interactive/event-triggers.html Take a look at matrix below for what is included and not included: http://www.postgresql.org/docs/9.5/interactive/event-trigger-matrix.html PL/pgSQL example: http://www.postgresql.org/docs/9.5/interactive/plpgsql-trigger.html#PLPGSQL-EVENT-TRIGGER > > Thank you; > > Edson > > -- Adrian Klaver adrian.klaver@aklaver.com
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера