Alvaro Herrera <alvhe...@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



-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to