From: | Fabrízio de Royes Mello <fabriziomello(at)gmail(dot)com> |
---|---|
To: | "Gauthier, Dave" <dave(dot)gauthier(at)intel(dot)com> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: when was a db/schema created ? |
Date: | 2012-09-17 21:23:59 |
Message-ID: | CAFcNs+rFYbf93_2nj4HZKNjbkQuFtyo3Epum9wMp8jOebnOj1g@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
2012/9/17 Gauthier, Dave <dave(dot)gauthier(at)intel(dot)com>
> Is there a way to determine when a DB was created (create database...)?**
> **
>
> Thanks in advance.****
>
Dear Dave,
You can configure the "log_statement" [1] GUC to log DDL statements.
Regards,
[1]
http://www.postgresql.org/docs/current/interactive/runtime-config-logging.html#GUC-LOG-STATEMENT
--
Fabrízio de Royes Mello
Consultoria/Coaching PostgreSQL
>> Blog sobre TI: http://fabriziomello.blogspot.com
>> Perfil Linkedin: http://br.linkedin.com/in/fabriziomello
>> Twitter: http://twitter.com/fabriziomello
From | Date | Subject | |
---|---|---|---|
Next Message | Ryan Kelly | 2012-09-17 21:42:24 | Re: RFE: Column aliases in WHERE clauses |
Previous Message | Gavin Flower | 2012-09-17 21:23:50 | Re: log_destination = csvlog |