From: | Steve Midgley <science(at)misuse(dot)org> |
---|---|
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:21:42 |
Message-ID: | CAJexoS+HCp12ziRsrAy3nC8D0TfLskrHqVS_U+KMF9cDouka8g@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-sql |
System catalogs should help, unless I misunderstand your question:
http://www.postgresql.org/docs/9.4/static/catalogs.html
http://www.postgresql.org/docs/9.4/static/view-pg-tables.html
http://stackoverflow.com/questions/20698169/how-to-use-postgres-pg-tables-to-compare-contraints
On Tue, May 5, 2015 at 1:13 PM, Suresh Raja <suresh(dot)rajaabc(at)gmail(dot)com>
wrote:
> Hi All:
>
>
> 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.
>
> Thanks,
> -Suresh Raja
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | PT | 2015-05-05 20:22:51 | Re: documenting tables version control |
Previous Message | Suresh Raja | 2015-05-05 20:13:42 | documenting tables version control |
From | Date | Subject | |
---|---|---|---|
Next Message | PT | 2015-05-05 20:22:51 | Re: documenting tables version control |
Previous Message | Suresh Raja | 2015-05-05 20:13:42 | documenting tables version control |