Re: [GENERAL] documenting tables version control - Mailing list pgsql-sql

From PT
Subject Re: [GENERAL] documenting tables version control
Date
Msg-id 20150505162251.76ed18271d7ab31c138189f4@potentialtech.com
Whole thread Raw
In response to documenting tables version control  (Suresh Raja <suresh.rajaabc@gmail.com>)
List pgsql-sql
On Tue, 5 May 2015 15:13:42 -0500
Suresh Raja <suresh.rajaabc@gmail.com> 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@potentialtech.com>


pgsql-sql by date:

Previous
From: Steve Midgley
Date:
Subject: Re: documenting tables version control
Next
From: "Joshua D. Drake"
Date:
Subject: Re: [GENERAL] documenting tables version control