How to find table creation date in postgresql?
Answer / Gaurav Bhatt
To find the creation date of a table in PostgreSQL, you can use the ``psql`" command-line tool and run the following query: ``SELECT tablename, tableattribs->'table_catalog' AS catalog,n tableattribs->'table_schema' AS schema,n tableattribs->'table_name' AS tablename,n pg_get_table_def(tablename) AS definitionnFROM pg_catalog.pg_tables,n (SELECT relname, tablename FROM pg_catalog.pg_depend WHERE objid = OBJECT_ID('public.your_table')) AS tableattribs`". The creation date should be visible in the table definition.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the default postgres database?
What is difference between drop and delete?
What is sequences in postgresql?
Is postgresql a programming language?
How to view tables in a database in postgresql?
What is the advantage of postgresql?
How to created a database?
What is a ctid?
What is psql command?
How do I change the default postgres password?
How do I connect to postgresql access?
when will data in the data base is updated
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)