X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 02A9311F6289 for ; Fri, 21 Apr 2006 00:37:32 -0300 (ADT) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Score: 0.277 X-Spam-Level: X-Spam-Status: No, score=0.277 required=5 tests=[AWL=0.277] Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id NUWPZlAeyzwM for ; Fri, 21 Apr 2006 00:37:27 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from noel.decibel.org (noel.decibel.org [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id 1E98311F628F for ; Fri, 21 Apr 2006 00:37:26 -0300 (ADT) Received: by noel.decibel.org (Postfix, from userid 1001) id 6501356423; Thu, 20 Apr 2006 22:37:11 -0500 (CDT) Received: (hashcash-sendmail, from uid 1001); Thu, 20 Apr 2006 22:37:10 -0500 Date: Thu, 20 Apr 2006 22:37:10 -0500 From: "Jim C. Nasby" To: "Ma, Yi" Cc: pgsql-admin@postgresql.org Subject: Re: track alter table history Message-ID: <20060421033710.GU49405@pervasive.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 6.0-RELEASE-p4 amd64 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.11 X-Hashcash: 1:20:060421:yi_ma@adp.com::2Lkze3UGxlE9UIPH:000069nZ X-Hashcash: 1:20:060421:pgsql-admin@postgresql.org::BfZCsTR0LUdw9RUu:00000000000 0000000000000000000000000+lO X-Archive-Number: 200604/213 X-Sequence-Number: 21382 Unfortunately, I don't think there is any way. It might not be a bad idea to add created and last_modified columns to track this information. On Wed, Apr 19, 2006 at 12:07:43PM -0500, Ma, Yi wrote: > > We're in the process of development between model updating and database > implementation, and > > It's been done by 2 different groups. I am wondering how I could find > out what's the last time > > The table structure has been updated (such as rename column name , add > new columns...) > > I looked the data dictionary tables/views in the pg_catalog , but can't > find any information like this. -- Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com Pervasive Software http://pervasive.com work: 512-231-6117 vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461