Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YpjRi-0006yC-Tc for pgsql-sql@arkaria.postgresql.org; Tue, 05 May 2015 20:28:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YpjRi-0003W9-7Z for pgsql-sql@arkaria.postgresql.org; Tue, 05 May 2015 20:28:02 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YpjRh-0003W0-G9; Tue, 05 May 2015 20:28:01 +0000 Received: from lists.commandprompt.com ([69.168.55.30]) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1YpjRe-00085B-4Y; Tue, 05 May 2015 20:27:59 +0000 Received: from [192.168.1.3] (spinlock.commandprompt.com [69.168.55.30]) by lists.commandprompt.com (Postfix) with ESMTPA id DF0754EA; Tue, 5 May 2015 13:27:55 -0700 (PDT) Received: from [192.168.1.3] ([67.168.169.165] helo=[192.168.1.3]) by assp.commandprompt.com with ESMTPS(AES128-SHA) (2.1.1); 5 May 2015 13:27:55 -0700 Message-ID: <554927D0.9060900@commandprompt.com> Date: Tue, 05 May 2015 13:28:00 -0700 From: "Joshua D. Drake" Organization: Command Prompt, Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Suresh Raja , pgsql-general@postgresql.org, pgsql-sql@postgresql.org Subject: Re: [GENERAL] documenting tables version control References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Assp-Version: 2.1.1(11364) on assp.commandprompt.com X-Assp-Client-SSL: yes X-Assp-ID: assp.commandprompt.com m1-57675-07780 X-Assp-Envelope-From: jd@commandprompt.com X-Assp-Intended-For: pgsql-sql@postgresql.org X-Assp-Original-Subject: Re: [GENERAL] documenting tables version control X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-sql Precedence: bulk Sender: pgsql-sql-owner@postgresql.org On 05/05/2015 01:13 PM, Suresh Raja 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. Take a look at sqitch. JD > > Thanks, > -Suresh Raja > -- Command Prompt, Inc. - http://www.commandprompt.com/ 503-667-4564 PostgreSQL Centered full stack support, consulting and development. Announcing "I'm offended" is basically telling the world you can't control your own emotions, so everyone else should do it for you. -- Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-sql