Return-Path: owner-postman Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.9/8.6.3) with SMTP id GAA28206 for postgres-redist; Wed, 9 Nov 1994 06:00:32 -0800 Resent-From: POSTGRES mailing list Resent-Message-Id: <199411091400.GAA28206@nobozo.CS.Berkeley.EDU> X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost.Berkeley.EDU didn't use HELO protocol Sender: owner-postman@postgres.Berkeley.EDU X-Return-Path: owner-postman Received: from swan.cl.cam.ac.uk (pp@swan.cl.cam.ac.uk [128.232.0.56]) by nobozo.CS.Berkeley.EDU (8.6.9/8.6.3) with ESMTP id GAA28196 for ; Wed, 9 Nov 1994 06:00:23 -0800 Received: from ouse.cl.cam.ac.uk (user gjn1001 (rfc931)) by swan.cl.cam.ac.uk with SMTP (PP-6.5) to cl; Wed, 9 Nov 1994 13:58:06 +0000 To: postgres@postgres.Berkeley.EDU Subject: time travel Date: Wed, 09 Nov 1994 13:57:59 +0000 From: Giles Nelson Message-ID: <"swan.cl.cam.:198030:941109135811"@cl.cam.ac.uk> Resent-To: postgres-redist@postgres.Berkeley.EDU Resent-Date: Wed, 09 Nov 94 06:00:31 -0800 Resent-XMts: smtp Hello all. I have a query about the facilities POSTGRES gives for historical databases, what the user manual terms as `time travel'. Classes can be created to be archival or not. The default is not. Therefore after instances are deleted, purged and the database vacuumed those instances will have been physically deleted. Alternatively a class may be defined as archival. Even after vacuuming therefore deleted instances are still accessible. The time stamp that POSTGRES appears to attach to each instance is what is often termed `database time', that is the time at which the instance was actually inserted into the database. I would like to use the built-in facilities that POSTGRES has for time travel but I wish to time stamp each instance with an `event time', that is the time which is associated with the instance itself, such as a birth date. My impression is that this is not possible and I will have to use a time attribute within a relation. However I wondered if anyone else had experience of doing directly and therefore retaining the use of built-in facilities. Giles Nelson. ============================================================================== To add/remove yourself to/from the POSTGRES mailing list: send mail with the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU" If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and a human will deal with it. DO NOT post to the "postgres" mailing list. ==============================================================================