transaction_timestamp()

From: Samuel Stearns <SStearns(at)internode(dot)com(dot)au>
To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: transaction_timestamp()
Date: 2010-05-25 04:25:44
Message-ID: 68B59BEDCD36854AADBDF17E91B2937A01A57CCCB9@EXCHMAIL.staff.internode.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Howdy,

I have an archiving script running in an 8.3 environment using transaction_timestamp() for the INSERT and DELETE operations. I want to run the same thing in an 8.1 environment but transaction_timestamp() does not exist in 8.1. now() will not work because of the time that elapses between the INSERT and DELETE operations (I will end up losing some data). Does anyone have any suggestions, please?

Thanks,

Sam

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2010-05-25 04:31:42 Re: transaction_timestamp()
Previous Message Simon Riggs 2010-05-24 19:55:57 Re: could not truncate directory "pg_subtrans": apparent wraparound