pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Roland Roberts <roland@astrofoto.org>
To: pgsql-sql@postgresql.org
Subject: Re: Is this a bug?
Date: 15 Nov 2001 11:24:47 -0500
Message-ID: <m2ofm4gfxs.fsf@tycho.rlent.pnet> (raw)
In-Reply-To: <9srnih$10qq$1@news.tht.net>
References: <9sqakt$op1$1@news.tht.net>
	<73t1vtk61pcsob9pa0p32a9eou3a31tolh@4ax.com>
	<9srnih$10qq$1@news.tht.net>

>>>>> "Jack" == Jack Gao <wei@gaofamily.org> writes:

    Jack> So, I can't use JOIN in UPDATE?

You are trying to update two different tables.  Use a transaction
instead.

    begin transaction;
    update foo ....;
    update bar ....;
    end transaction;

roland
-- 
		       PGP Key ID: 66 BC 3B CD
Roland B. Roberts, PhD                             RL Enterprises
roland@rlenter.com                     76-15 113th Street, Apt 3B
roland@astrofoto.org                       Forest Hills, NY 11375



view thread (7+ messages)  latest in thread

Message-ID: <m2ofm4gfxs.fsf@tycho.rlent.pnet>
Permalink:  ../m2ofm4gfxs.fsf@tycho.rlent.pnet/
Also on:    postgresql.org/message-id/m2ofm4gfxs.fsf@tycho.rlent.pnet

 · 

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-sql@postgresql.org
  Cc: roland@astrofoto.org
  Subject: Re: Is this a bug?
  In-Reply-To: <m2ofm4gfxs.fsf@tycho.rlent.pnet>

* 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