Re: Libpq enhancement
От | Robert Haas |
---|---|
Тема | Re: Libpq enhancement |
Дата | |
Msg-id | BANLkTi=dLGqruAizZvMLZGMUj1s5fi2iJg@mail.gmail.com обсуждение исходный текст |
Ответ на | Libpq enhancement (Jeff Shanab <jshanab@smartwire.com>) |
Ответы |
Re: Libpq enhancement
|
Список | pgsql-hackers |
On Sun, Jun 19, 2011 at 11:04 AM, Jeff Shanab <jshanab@smartwire.com> wrote: > I am wondering If I am missing something obvious. If not, I have a > suggestion for plpgsql. > > Stored procedures can accept rows. > > Libpq can receive rows (PQResult). > > Wouldn’t it be a great interface if PQResult was “bi-directional”? Create a > result set on the client then call the database with a command. For insert, we have something like this already - this is what "copy" is for. For update, it's a bit more complex - we don't have a "replace into" operator... -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-hackers по дате отправления: