Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by mail.postgresql.org (8.11.3/8.11.1) with ESMTP id f2QLPZw67640 for ; Mon, 26 Mar 2001 16:25:36 -0500 (EST) (envelope-from josh@agliodbs.com) Received: from [209.10.40.250] (account ) by davinci.ethosmedia.com (CommuniGate Pro WebUser 3.4.1) with HTTP id 30069; Mon, 26 Mar 2001 13:25:29 -0800 From: "Josh Berkus" Subject: Re: Function Vanished To: Tom Lane , "Josh Berkus" Cc: pgsql-sql@postgresql.org X-Mailer: CommuniGate Pro Web Mailer v.3.4.1 Date: Mon, 26 Mar 2001 13:25:29 -0800 Message-ID: In-Reply-To: <292.985640954@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Archive-Number: 200103/538 X-Sequence-Number: 2208 Tom, > Ick. Were you maybe working on it inside a transaction that you > forgot > to commit? Nope. Friday was debugging work; the function had already been saved as a buggy version. I can even find the last buggy call to the function, on Friday, in the logs. I do have a copy of the buggy version, but if I can get the debugged version back ... > Should still be there in the table, if you haven't vacuumed. Getting > it out again is another story though. If it was a small enough > function, > good ol' "strings" would do to extract the function body, which is > probably all that you really need. But if it's more than a couple K > then the text will be compressed and difficult to spot or extract. Can you explain that? I think that the text may be short entough to be uncompressed. -Josh Berkus ______AGLIO DATABASE SOLUTIONS___________________________ Josh Berkus Complete information technology josh@agliodbs.com and data management solutions (415) 565-7293 for law firms, small businesses fax 621-2533 and non-profit organizations. San Francisco