From: Tom Lane <tgl@sss.pgh.pa.us>
To: Drew Wilson <drewmwilson@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: how to efficiently update tuple in many-to-many relationship?
Date: Mon, 09 Apr 2007 17:43:42 -0400
Message-ID: <14019.1176155022@sss.pgh.pa.us> (raw)
In-Reply-To: <233A9987-ABA5-4491-A304-FDA1F8FCD962@gmail.com>
References: <233A9987-ABA5-4491-A304-FDA1F8FCD962@gmail.com>
Drew Wilson <drewmwilson@gmail.com> writes:
> I have 2 tables (A,B) joined in a many-to-many relationship via a
> join table ("membership"), where updating table A based on table B
> takes a very long time.
> ...
> -> Function Scan on a (cost=0.00..12.50 rows=1000 width=4)
I think you've left out some relevant details ... there's nothing
in what you said about a set-returning function ...
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, drewmwilson@gmail.com
Subject: Re: how to efficiently update tuple in many-to-many relationship?
In-Reply-To: <14019.1176155022@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