pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dan Langille <dan@langille.org>
To: Josh Berkus <josh@agliodbs.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: UPDATE one table with values from another
Date: Wed, 8 Oct 2003 23:41:31 -0400 (EDT)
Message-ID: <20031008233756.O93934@xeon.unixathome.org> (raw)
In-Reply-To: <200310081637.57591.josh@agliodbs.com>
References: <20031008180813.X53328@xeon.unixathome.org>
	<200310081637.57591.josh@agliodbs.com>

On Wed, 8 Oct 2003, Josh Berkus wrote:

> Dan,
>
> > UPDATE commit_log_ports_elements X
> >    SET X.needs_refresh = CLP.needs_refresh,
> >        X.port_version  = CLP.port_version,
> >        X.port_revision = CLP.port_revision
>
> FROM commit_log_ports CLP
> WHERE X.commit_log_id = CLP.commit_log_id

Thanks Josh.  After a 5 hour drive to Hamilton, my brain was only capable
of doing the email.

> You can always ask this kind of thing on IRC .....

If I'd been at home, I would have.  This laptop of mine is getting pretty
old.  It took pretty close to 15 minutes for it to set a field to zero in
91,295 rows....  I need more ram and a faster laptop!

cheers



view thread (4+ messages)

Message-ID: <20031008233756.O93934@xeon.unixathome.org>
Permalink:  ../20031008233756.O93934@xeon.unixathome.org/
Also on:    postgresql.org/message-id/20031008233756.O93934@xeon.unixathome.org

 · 

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: dan@langille.org, josh@agliodbs.com
  Subject: Re: UPDATE one table with values from another
  In-Reply-To: <20031008233756.O93934@xeon.unixathome.org>

* 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