Re: How to force PostgreSQL to use multiple cores within one connection?

Поиск
Список
Период
Сортировка
Искать
От
Sergey A.
Тема
Re: How to force PostgreSQL to use multiple cores within one connection?
Дата
Msg-id
3bff71aa0810010704y130adef3r75024e1f8c7de0c1@mail.gmail.com
Ответ на
Список
Дерево обсуждения
How to force PostgreSQL to use multiple cores within one connection? "Sergey A." <n39052@gmail.com>
Re: How to force PostgreSQL to use multiple cores within one connection? David Fetter <david@fetter.org>
Re: How to force PostgreSQL to use multiple cores within one connection? Raymond O'Donnell <rod@iol.ie>
Re: How to force PostgreSQL to use multiple cores within one connection? "Sergey A." <n39052@gmail.com>
Re: How to force PostgreSQL to use multiple cores within one connection? Richard Huxton <dev@archonet.com>
Re: How to force PostgreSQL to use multiple cores within one connection? "Merlin Moncure" <mmoncure@gmail.com>
Re: How to force PostgreSQL to use multiple cores within one connection? "Nikolas Everett" <nik9000@gmail.com>
> There is a network API for COPY.  Look up pg_put_line (or PQputLine
> or whatever the convention is for whatever API you're using).

Thanks for your answer. I use Erlang (erlang.org) + pgsql2 (it's
native Erlang driver maintained by ejabberd developers). All all I
have is the following functions:

connect(User,Password,Database,Options)
stop(Pid)
q(Pid,Query)
q(Pid,Query,Params)
q(Pid,Query,Params,Options)
execute_many(Pid,Query,Params) // I use this function to do buffered inserts
execute(Pid,Query,Params)
apply_in_tx(Pid,Fun,Args) // it's for transactions
get_parameters(Pid) // some information about connection

Unfortunattely, there are no functions like pg_put_line.
В списке pgsql-general по дате отправления
От: Sergey A.
Дата:
От: Scott Marlowe
Дата:
FAQ