Re: FDW-based dblink
От | Alvaro Herrera |
---|---|
Тема | Re: FDW-based dblink |
Дата | |
Msg-id | 20090813142253.GD5909@alvh.no-ip.org обсуждение исходный текст |
Ответ на | FDW-based dblink (Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp>) |
Ответы |
Re: FDW-based dblink
|
Список | 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.
В списке pgsql-hackers по дате отправления: