Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id A85CE16E16B3 for ; Wed, 16 Nov 2011 12:10:41 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 79759-02-8 for ; Wed, 16 Nov 2011 16:10:36 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 363273FDC21 for ; Wed, 16 Nov 2011 12:10:24 -0400 (AST) Received: from hogranch.com ([75.101.82.47]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RQi47-0004dr-3d for pgsql-general@postgresql.org; Wed, 16 Nov 2011 16:10:24 +0000 Received: from [127.0.0.1] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id pAGGA5902520 for ; Wed, 16 Nov 2011 08:10:06 -0800 Message-ID: <4EC3E05D.8080808@hogranch.com> Date: Wed, 16 Nov 2011 08:10:05 -0800 From: John R Pierce User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: pgsql-general@postgresql.org Subject: Re: How could I find the last modified procedure in the database? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201111/589 X-Sequence-Number: 182159 On 11/16/11 8:00 AM, Dhimant Patel wrote: > I have postgres *(PostgreSQL) 9.0.3 running.* > I also created several procedures/functions and now I don't remember > the last procedure I worked on! - I thought I could always get this > from metadata. > > Now I'm stuck - couldn't find this details anywhere in catalog tables! > > Is there anyway I can get this information? as far as I know, nothing like that is stored, unless you log DDL operations, and timestamp your logs, in which case it would be in the logfiles. -- john r pierce N 37, W 122 santa cruz ca mid-left coast