Re: [GENERAL] Does PG support bulk operation in embedded C

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: [GENERAL] Does PG support bulk operation in embedded C
Дата
Msg-id 555BD1C6.4000301@commandprompt.com
обсуждение исходный текст
Ответ на Does PG support bulk operation in embedded C  ("Ravi Krishna" <srkrishna@gmx.com>)
Ответы Re: [GENERAL] Does PG support bulk operation in embedded C  ("Ravi Krishna" <srkrishna@gmx.com>)
Список pgsql-sql
On 05/19/2015 04:47 PM, Ravi Krishna wrote:
>
> To explain pls refer to this for DB2
>
> http://www-01.ibm.com/support/knowledgecenter/SSEPGG_9.7.0/com.ibm.db2.luw.apdv.cli.doc/doc/r0002329.html
>
>
> Essentially in one single sql call, we can do
> -- Add new rows
> -- Update a set of rows where each row is identified by a bookmark
> -- Delete a set of rows where each row is identified by a bookmark
> -- Fetch a set of rows where each row is identified by a bookmark
>
> This gives tremendous performance benefits as the network round trip is
> avoided for each sql.
>
> I am looking for an equivalent of this in PG and C language.

For embedded C, I believe you are looking for:

http://www.postgresql.org/docs/9.4/static/ecpg.html


>
> Thanks.
>
>
>


--
Command Prompt, Inc. - http://www.commandprompt.com/  503-667-4564
PostgreSQL Centered full stack support, consulting and development.
Announcing "I'm offended" is basically telling the world you can't
control your own emotions, so everyone else should do it for you.


В списке pgsql-sql по дате отправления:

Предыдущее
От: "Ravi Krishna"
Дата:
Сообщение: Does PG support bulk operation in embedded C
Следующее
От: "Ravi Krishna"
Дата:
Сообщение: Re: [GENERAL] Does PG support bulk operation in embedded C