RE: libpq problem with inserts

Поиск
Список
Период
Сортировка
От Kevin Sorensen
Тема RE: libpq problem with inserts
Дата
Msg-id LNBBLFDKDBGPNAIBMDLNEEPACKAA.kevin@pcxcess.com
обсуждение исходный текст
Ответ на Re: libpq problem with inserts  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
sorry, no. as for the data that i am inserting, most of it is just numbers
as the script is to run invoicing on customers in the database. and it runs
through the loop several times, and just leaves out some of the entries when
looping through. i was reading about the synchronous, asynchronous methods
in libpq, but it just confused me more. heh, no sleep for me last night,
maybe
that is it.

kevin

-----Original Message-----
From: pgsql-general-owner@hub.org [mailto:pgsql-general-owner@hub.org]On
Behalf Of Tom Lane
Sent: Friday, September 08, 2000 9:12 AM
To: Kevin Sorensen
Cc: pgsql-general@hub.org
Subject: Re: [GENERAL] libpq problem with inserts


"Kevin Sorensen" <kevin@pcxcess.com> writes:
> i am running a loop inserting several items into a table something kind
> of similar as below, but more complicated. However, when i print the sql
> strings, everything prints out and works fine, however, when i try to
> insert them into the database, only some of them get inserted.

Any quote marks or backslashes in the data you're inserting?

            regards, tom lane


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

Предыдущее
От: lee johnson
Дата:
Сообщение: Re: postgres not allowing new database?
Следующее
От: "Pablo Prieto"
Дата:
Сообщение: Minutes in an interval