Search Postgresql Archives

Re: documenting tables version control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 5 May 2015 15:13:42 -0500
Suresh Raja <suresh.rajaabc@xxxxxxxxx> wrote:
> 
> 
> I have tables with different versions in the same schema.  Like
> T1a, T1b, T1c
> T2a, T2b, T2c, T2d
> ....
> ...
> etc.
> 
> 
> I'm interested in documenting various version of tables, may be in excel
> sheet or may be in another schema in the database.  I would like to store
> information on table name, column names, column order, pry key column etc.
> Also is there a way I can reverse engineer from the database itself.
> 
> Let me know if anybody any suggestion or format that they used.  I
> appreciate all your help and shall be suitably acknowledged.

This section of the documentation should tell you everything you
need to know:
http://www.postgresql.org/docs/9.4/static/information-schema.html

-- 
PT <wmoran@xxxxxxxxxxxxxxxxx>


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux