| От | Gordon A. Runkle |
|---|---|
| Тема | Re: COPY Question |
| Дата | |
| Msg-id | 9ag5q6$tuk$1@news.tht.net обсуждение |
| Ответ на | COPY Question (John Coers <coers@intrinsity.com>) |
| Список | pgsql-docs |
In article <3ACB8E7F.C12A50CA@intrinsity.com>, "John Coers" <coers@intrinsity.com> wrote: > Hi, > > I am writing a C program that accesses a 7.0.3 database using libpq. I > would like to be able to do a fprintf through some file pointer or pipe > TO the database via a PQexec call of COPY. I have been unable to figure > out if this is possible. I see where I can do this via stdin, but I > don't want the user to make the entry, I want the executable to do it > and still enjoy the performance of the COPY command. If you're on UNIX, look at the popen(3) call. Gordon. -- It doesn't get any easier, you just go faster. -- Greg LeMond
В списке pgsql-docs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера