Re: FDW-based dblink

From: Itagaki Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: FDW-based dblink
Date: 2009-08-14 00:34:05
Message-ID: 20090814093231.99D3.52131E4D@oss.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Alvaro Herrera <alvherre(at)commandprompt(dot)com> wrote:

> > int64 exec(self, query); /* for UPDATE, INSERT, DELETE */
>
> It's not good to return int64 in exec(), because it could have a
> RETURNING clause. (So it also needs a fetchsize).

We should use open() for RETURNING query.
It is just same as present dblink_exec(), that only returns a command tag.

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hitoshi Harada 2009-08-14 00:39:10 Re: Implementation of GROUPING SETS (T431: Extended grouping capabilities)
Previous Message Greg Stark 2009-08-13 23:31:15 Re: freezing tuples ( was: Why is vacuum_freeze_min_age 100m? )