Re: REASSIGN OWNED lacks support for FDWs

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: REASSIGN OWNED lacks support for FDWs
Date: 2012-02-22 00:30:39
Message-ID: 159.1329870639@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox
Thread:
Lists: pgsql-hackers

Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> Excerpts from Alvaro Herrera's message of mar feb 21 15:54:03 -0300 2012:
>> Excerpts from Tom Lane's message of lun feb 20 12:37:45 -0300 2012:
>>> As per http://archives.postgresql.org/pgsql-general/2012-02/msg00304.php
>>> there is no switch case in shdepReassignOwned for foreign data wrappers.

>> I'm gonna take a stab at fixing this now (the simple way).

> Here's the patch I have; last minute opinions. I intend to push a
> backpatch to 9.1 and 9.0. 8.4 has the same problem, but since Heikki
> punted in e356743f3ed45c36dcc4d0dbf6c1e8751b3d70b5, I'm not going to
> bother either.

Looks roughly like what I expected, but I haven't tested it.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2012-02-22 01:34:01 Re: Scaling XLog insertion (was Re: Moving more work outside WALInsertLock)
Previous Message Marko Kreen 2012-02-21 23:36:30 Re: Speed dblink using alternate libpq tuple storage