Re: documenting tables version control

From: PT <wmoran(at)potentialtech(dot)com>
To: Suresh Raja <suresh(dot)rajaabc(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org
Subject: Re: documenting tables version control
Date: 2015-05-05 20:22:51
Message-ID: 20150505162251.76ed18271d7ab31c138189f4@potentialtech.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-sql

On Tue, 5 May 2015 15:13:42 -0500
Suresh Raja <suresh(dot)rajaabc(at)gmail(dot)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(at)potentialtech(dot)com>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Joshua D. Drake 2015-05-05 20:28:00 Re: [GENERAL] documenting tables version control
Previous Message Steve Midgley 2015-05-05 20:21:42 Re: documenting tables version control

Browse pgsql-sql by date

  From Date Subject
Next Message Joshua D. Drake 2015-05-05 20:28:00 Re: [GENERAL] documenting tables version control
Previous Message Steve Midgley 2015-05-05 20:21:42 Re: documenting tables version control