Re: realtime data inserts

Поиск
Список
Период
Сортировка
От Ron Johnson
Тема Re: realtime data inserts
Дата
Msg-id 1052672090.995.13.camel@haggis
обсуждение исходный текст
Ответ на Re: realtime data inserts  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Sat, 2003-05-10 at 21:46, Tom Lane wrote:
> Ron Johnson <ron.l.johnson@cox.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.l.johnson@cox.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.  |
+---------------------------------------------------------------+


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Error installing postgresql-7.3.2 (fixed, but Q
Следующее
От: Doug McNaught
Дата:
Сообщение: Re: realtime data inserts