Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Determine the date a table was defined/created.



"David Monarchi" <david(dot)e(dot)monarchi(at)gmail(dot)com> writes:
> I believe the date a table is defined is stored in one of the system
> catalogs.

You're mistaken.

You might be able to estimate it by comparing the table OID to the OIDs
of other tables --- that would at least give you a fix on the order of
creation.  But there's no timestamp as such.

If you have faithfully maintained PITR archives covering the time period
in question, then the information is theoretically available from those,
but I'm not aware of any tools that would easily pull it out for you.

			regards, tom lane



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group