From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kirk Wythers <kwythers@umn.edu>
Cc: Luke Lonergan <llonergan@greenplum.com>
Cc: Steinar H. Gunderson <sgunderson@bigfoot.com>
Cc: " " Gábriel Ákos " " <akos.gabriel@i-logic.hu>
Cc: pgsql-performance@postgresql.org
Subject: Re: trouble with a join on OS X
Date: Fri, 02 Feb 2007 22:31:17 -0500
Message-ID: <26885.1170473477@sss.pgh.pa.us> (raw)
In-Reply-To: <7CF821AD-20DA-4CC7-8A05-5B778B164327@umn.edu>
References: <C1E927EA.1A0FC%llonergan@greenplum.com>
<293ED31C-0866-4616-9D44-A22D8111E57C@umn.edu>
<26430.1170469932@sss.pgh.pa.us>
<7CF821AD-20DA-4CC7-8A05-5B778B164327@umn.edu>
Kirk Wythers <kwythers@umn.edu> writes:
> The new table needs to be filled with the results of the join. If
> there is a way to do this without a SELECT, please share.
If it's an entirely new table, then you probably want to use INSERT
... SELECT. If what you want is to update existing rows using a join,
you can use UPDATE ... FROM (not standard) or something involving a
sub-select. You'd need to state your problem in some detail to get more
help than that...
regards, tom lane
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: tgl@sss.pgh.pa.us, kwythers@umn.edu, llonergan@greenplum.com, sgunderson@bigfoot.com, akos.gabriel@i-logic.hu
Subject: Re: trouble with a join on OS X
In-Reply-To: <26885.1170473477@sss.pgh.pa.us>
* 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