Re: Storing Snapshot Data

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: John Gibson <gib(at)edgate(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Storing Snapshot Data
Date: 2003-12-11 15:20:26
Message-ID: 13405.1071156026@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

John Gibson <gib(at)edgate(dot)com> writes:
> Unfortunately, I am stuck on how to get all three into the monitor table
> with the same timestamp.

Do all the work in a single SERIALIZABLE transaction. That gives you a
static, consistent view of the database for as long as you need.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jan Wieck 2003-12-11 15:22:59 Re: add column sillyness
Previous Message Manfred Koizar 2003-12-11 15:14:43 Re: [GENERAL] Transaction Question