Re: FDW-based dblink

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Itagaki Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: FDW-based dblink
Date: 2009-08-13 14:22:53
Message-ID: 20090813142253.GD5909@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Itagaki Takahiro wrote:

> Also new two interfaces will be introduced:
>
> interface Connection /* represents PGconn */
> {
> void disconnect(self);
> Cursor *open(self, query, fetchsize); /* for SELECT */
> int64 exec(self, query); /* for UPDATE, INSERT, DELETE */
> bool transaction_command(self, type);
> }

It's not good to return int64 in exec(), because it could have a
RETURNING clause. (So it also needs a fetchsize).

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2009-08-13 14:26:29 Re: Alpha 1 release notes
Previous Message Robert Haas 2009-08-13 14:12:54 Re: dependencies for generated header files