agora inbox for pgsql-sql@postgresql.org
help / color / mirror / Atom feedFrom: PT <wmoran@potentialtech.com>
To: Suresh Raja <suresh.rajaabc@gmail.com>
Cc: pgsql-general@postgresql.org
Cc: pgsql-sql@postgresql.org
Subject: Re: documenting tables version control
Date: Tue, 5 May 2015 16:22:51 -0400
Message-ID: <20150505162251.76ed18271d7ab31c138189f4@potentialtech.com> (raw)
In-Reply-To: <CAJP7dtAkyp5YguVuQWqN-kgvd0QbUKyVQJusK+6YsAaOF8EQJA@mail.gmail.com>
References: <CAJP7dtAkyp5YguVuQWqN-kgvd0QbUKyVQJusK+6YsAaOF8EQJA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>
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>
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
view thread (12+ messages) latest in thread
Message-ID: <20150505162251.76ed18271d7ab31c138189f4@potentialtech.com>
Permalink: ../20150505162251.76ed18271d7ab31c138189f4@potentialtech.com/
Also on: postgresql.org/message-id/20150505162251.76ed18271d7ab31c138189f4@potentialtech.com
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: wmoran@potentialtech.com, suresh.rajaabc@gmail.com, pgsql-general@postgresql.org
Subject: Re: documenting tables version control
In-Reply-To: <20150505162251.76ed18271d7ab31c138189f4@potentialtech.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox