Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 86D78634285 for ; Fri, 27 Aug 2010 14:27:27 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 26535-08 for ; Fri, 27 Aug 2010 17:27:20 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-fx0-f46.google.com (mail-fx0-f46.google.com [209.85.161.46]) by mail.postgresql.org (Postfix) with ESMTP id A667F6341A3 for ; Fri, 27 Aug 2010 14:27:19 -0300 (ADT) Received: by fxm13 with SMTP id 13so2142365fxm.19 for ; Fri, 27 Aug 2010 10:27:17 -0700 (PDT) Received: by 10.223.119.10 with SMTP id x10mr956711faq.1.1282930037818; Fri, 27 Aug 2010 10:27:17 -0700 (PDT) Received: from Craig-Jamess-MacBook-Pro.local (wsip-70-167-124-126.sd.sd.cox.net [70.167.124.126]) by mx.google.com with ESMTPS id b36sm2091338faq.11.2010.08.27.10.27.15 (version=SSLv3 cipher=RC4-MD5); Fri, 27 Aug 2010 10:27:17 -0700 (PDT) Message-ID: <4C77F571.40505@emolecules.com> Date: Fri, 27 Aug 2010 10:27:13 -0700 From: Craig James User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Lukasz Brodziak , pgsql-admin@postgresql.org Subject: Re: Tuple changes from relfilenodes References: , <4C7776760200002500034D06@gw.wicourts.gov> , <4C77F027.7040508@emolecules.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201008/254 X-Sequence-Number: 35503 On 8/27/10 10:09 AM, Lukasz Brodziak wrote: > What do You mean by history table? Creating such table is out of the question. You asked for "actual versions of row data" and a "data change history." How can you expect to get a history without the history being stored somewhere? The previous answers to your question already said that the old versions of data can be erased almost immediately, so if you really need the history, you have to do it yourself. Why is that out of the question? Perhaps a more detailed explanation of what you are trying to achieve would help. Craig > > > Date: Fri, 27 Aug 2010 10:04:39 -0700 > > From: craig_james@emolecules.com > > To: > > Subject: Re: [ADMIN] Tuple changes from relfilenodes > > > > On 8/27/10 9:48 AM, ?ukasz Brodziak wrote: > > > I'm looking for actual versions of row data. What I want to achieve as a final result is a kind of data change history. > > > > What about a before-update trigger and an history table? > > > > Craig