From: Josh Berkus <josh@agliodbs.com>
To: Dan Langille <dan@langille.org>
To: pgsql-sql@postgresql.org
Subject: Re: UPDATE one table with values from another
Date: Wed, 8 Oct 2003 16:37:57 -0700
Message-ID: <200310081637.57591.josh@agliodbs.com> (raw)
In-Reply-To: <20031008180813.X53328@xeon.unixathome.org>
References: <20031008180813.X53328@xeon.unixathome.org>
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
You can always ask this kind of thing on IRC .....
--
-Josh Berkus
Aglio Database Solutions
San Francisco
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: josh@agliodbs.com, dan@langille.org
Subject: Re: UPDATE one table with values from another
In-Reply-To: <200310081637.57591.josh@agliodbs.com>
* 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