Re: FDW: possible resjunk columns in AddForeignUpdateTargets

From: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "Tomas Vondra *EXTERN*" <tv(at)fuzzy(dot)cz>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: FDW: possible resjunk columns in AddForeignUpdateTargets
Date: 2013-11-13 08:49:54
Message-ID: A737B7A37273E048B164557ADEF4A58B17C590D8@ntex2010i.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tomas Vondra wrote:
> have you found a way to pass data types other than TID as a resjunk
> column? I'm trying to solve almost the same thing (pass INT8 instead of
> TID), but I got stuck.
>
> Adding a custom Var with INT8OID instead of TIDOID seems to work fine,
> but I've found no way to populate this in IterateForeignScan :-(

I didn't get to try it yet, but I'll keep you updated.

Yours,
Laurenz Albe

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2013-11-13 08:53:25 Re: Fast insertion indexes: why no developments
Previous Message Kyotaro HORIGUCHI 2013-11-13 08:38:11 Re: UNION ALL on partitioned tables won't use indices.