Re: libpq problem with inserts - Mailing list pgsql-general

From Tom Lane
Subject Re: libpq problem with inserts
Date
Msg-id 24674.968422336@sss.pgh.pa.us
Whole thread Raw
In response to libpq problem with inserts  ("Kevin Sorensen" <kevin@pcxcess.com>)
Responses RE: libpq problem with inserts  ("Kevin Sorensen" <kevin@pcxcess.com>)
List pgsql-general
"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 by date:

Previous
From: "Kevin Sorensen"
Date:
Subject: libpq problem with inserts
Next
From: lee johnson
Date:
Subject: Re: postgres not allowing new database?