Re: realtime data inserts

From: Ron Johnson <ron(dot)l(dot)johnson(at)cox(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: realtime data inserts
Date: 2003-05-11 16:54:50
Message-ID: 1052672090.995.13.camel@haggis
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers pgsql-performance

On Sat, 2003-05-10 at 21:46, Tom Lane wrote:
> Ron Johnson <ron(dot)l(dot)johnson(at)cox(dot)net> writes:
> > On Sat, 2003-05-10 at 11:00, Tom Lane wrote:
> >> Have you thought about using COPY?
>
> > Generate a temporary file, and then system("COPY /tmp/foobar ...") ?
>
> No, copy from stdin. No need for a temp file.

But wouldn't that only work if the input stream is acceptable to
COPY ?

--
+---------------------------------------------------------------+
| Ron Johnson, Jr. mailto:ron(dot)l(dot)johnson(at)cox(dot)net |
| Jefferson, LA USA http://members.cox.net/ron.l.johnson |
| |
| The purpose of the military isn't to pay your college tuition |
| or give you a little extra income; it's to "kill people and |
| break things". Surprisingly, not everyone understands that. |
+---------------------------------------------------------------+

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Doug McNaught 2003-05-11 16:58:43 Re: realtime data inserts
Previous Message Peter Eisentraut 2003-05-11 16:48:15 Re: Error installing postgresql-7.3.2 (fixed, but Q

Browse pgsql-hackers by date

  From Date Subject
Next Message Doug McNaught 2003-05-11 16:58:43 Re: realtime data inserts
Previous Message Peter Eisentraut 2003-05-11 16:46:32 SET CONSTRAINTS not schema-aware

Browse pgsql-performance by date

  From Date Subject
Next Message Doug McNaught 2003-05-11 16:58:43 Re: realtime data inserts
Previous Message Tom Lane 2003-05-11 14:15:32 Re: Yet another question about not use on indexes