Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YpwCC-0000mW-PB for pgsql-general@arkaria.postgresql.org; Wed, 06 May 2015 10:04:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YpwCC-0005nj-A8 for pgsql-general@arkaria.postgresql.org; Wed, 06 May 2015 10:04:52 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YpwCB-0005nd-Eq for pgsql-general@postgresql.org; Wed, 06 May 2015 10:04:51 +0000 Received: from mbx.knossos.net.nz ([202.160.48.10]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1YpwC2-0006u5-HJ for pgsql-general@postgresql.org; Wed, 06 May 2015 10:04:50 +0000 Received: from [10.1.1.3] (121-99-189-151.bng1.nct.orcon.net.nz [121.99.189.151]) (authenticated bits=0) by mbx.knossos.net.nz (8.14.4/8.14.4) with ESMTP id t46A4LNO001676 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 6 May 2015 22:04:22 +1200 Message-ID: <5549E71D.5010906@archidevsys.co.nz> Date: Wed, 06 May 2015 22:04:13 +1200 From: Gavin Flower Organization: ArchiDevSys User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Tim Clarke , pgsql-general@postgresql.org Subject: Re: documenting tables version control References: <5549D524.3010707@manifest.co.uk> In-Reply-To: <5549D524.3010707@manifest.co.uk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org See comments at bottom, On 06/05/15 20:47, Tim Clarke wrote: > We keep the DDL statements for any tables in our subversion code > repository just like any other programming code. Takes only a moment > then all history or changes is available and comparable. svnserve on > our linux server, svn workbench on my ubuntu laptop, all open source :) > > Tim Clarke > On 05/05/15 21:13, 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. >> >> Thanks, >> -Suresh Raja >> > Please don't top post in these lists. Not upgraded to git yet??? :-) Cheers, Gavin -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general