Re: FDW-based dblink - Mailing list pgsql-hackers

From Itagaki Takahiro
Subject Re: FDW-based dblink
Date
Msg-id 20090814093231.99D3.52131E4D@oss.ntt.co.jp
Whole thread Raw
In response to Re: FDW-based dblink  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.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




pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: freezing tuples ( was: Why is vacuum_freeze_min_age 100m? )
Next
From: Hitoshi Harada
Date:
Subject: Re: Implementation of GROUPING SETS (T431: Extended grouping capabilities)