pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Pierre Frédéric Caillaud <lists@peufeu.com>
To: Hannu Krosing <hannu@2ndquadrant.com>
To: Nickolay <nitro@zhukcity.ru>
Cc: pgsql-performance@postgresql.org
Subject: Re: PG optimization question
Date: Sun, 10 Jan 2010 11:52:01 +0100
Message-ID: <op.u6bcgzsucke6l8@soyouz> (raw)
In-Reply-To: <1263075977.6481.9.camel@hvost>
References: <4B485975.70506@zhukcity.ru>
	<2f4958ff1001090418i78dee992t5ff2d78a54187c07@mail.gmail.com>
	<4B4879A0.2060703@zhukcity.ru>
	<20100109124646.GA8123@it.is.rice.edu>
	<4B487D9C.9020507@zhukcity.ru>
	<op.u59u0rgecke6l8@soyouz>
	<4B48CFDF.7090406@zhukcity.ru>
	<1263075977.6481.9.camel@hvost>


> If you transfer (delete from staging, insert into archive) in one
> transaction , then it will be always visible in exactly one of them,
> and exatly once in a view over both staging and archive(s).

	Does the latest version implement this :

INSERT INTO archive (...) DELETE FROM staging WHERE ... RETURNING ...




view thread (14+ messages)  latest in thread

Message-ID: <op.u6bcgzsucke6l8@soyouz>
Permalink:  ../op.u6bcgzsucke6l8@soyouz/
Also on:    postgresql.org/message-id/op.u6bcgzsucke6l8@soyouz

 · 

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: pgsql-performance@postgresql.org
  Cc: lists@peufeu.com, hannu@2ndquadrant.com, nitro@zhukcity.ru
  Subject: Re: PG optimization question
  In-Reply-To: <op.u6bcgzsucke6l8@soyouz>

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

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