agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: Paul M. Aoki <aoki@cs.berkeley.edu>
To: Giles Nelson <Giles.Nelson@cl.cam.ac.uk>
Cc: postgres@postgres.Berkeley.EDU
Subject: Re: time travel
Date: Wed, 09 Nov 94 10:50:36 -0800
Message-ID: <199411091850.KAA21344@faerie.CS.Berkeley.EDU> (raw)
In-Reply-To: <"swan.cl.cam.:198030:941109135811"@cl.cam.ac.uk>

Giles Nelson <Giles.Nelson@cl.cam.ac.uk> writes:
> 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.

correct, the built-in time-travel syntax only works for transaction
commit time, and you cannot change the commit timestamp.  the time
*types* are general but the syntax is not.
--
  Paul M. Aoki          |  University of California at Berkeley
  aoki@CS.Berkeley.EDU  |  Dept. of EECS, Computer Science Division (#1776) 
                        |  Berkeley, CA 94720-1776

==============================================================================
   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.
==============================================================================



reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: postgres@postgres.berkeley.edu
  Cc: aoki@cs.berkeley.edu, Giles.Nelson@cl.cam.ac.uk
  Subject: Re: time travel
  In-Reply-To: <199411091850.KAA21344@faerie.CS.Berkeley.EDU>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox