Re: How to force PostgreSQL to use multiple cores within one connection? - Mailing list pgsql-general

From Bill Moran
Subject Re: How to force PostgreSQL to use multiple cores within one connection?
Date
Msg-id 20081001090550.1d361979.wmoran@collaborativefusion.com
Whole thread Raw
In response to Re: How to force PostgreSQL to use multiple cores within one connection?  ("Sergey A." <n39052@gmail.com>)
Responses Re: How to force PostgreSQL to use multiple cores within one connection?  ("Sergey A." <n39052@gmail.com>)
List pgsql-general
In response to "Sergey A." <n39052@gmail.com>:
>
> > Multiple cores are not the solution to your problem here, but COPY
> > almost certainly is :)
> But as I can see this approach doesn't work over network: I need to
> create file with data locally, and then ask PostgreSQL to read it.

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).

--
Bill Moran
Collaborative Fusion Inc.
http://people.collaborativefusion.com/~wmoran/

wmoran@collaborativefusion.com
Phone: 412-422-3463x4023

pgsql-general by date:

Previous
From: "Scott Marlowe"
Date:
Subject: Re: How to force PostgreSQL to use multiple cores within one connection?
Next
From: Tom Lane
Date:
Subject: Re: Index question regarding numeric operators