Re: libpq problem with inserts

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Kevin Sorensen" <kevin(at)pcxcess(dot)com>
Cc: pgsql-general(at)hub(dot)org
Subject: Re: libpq problem with inserts
Date: 2000-09-08 14:12:16
Message-ID: 24674.968422336@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Kevin Sorensen" <kevin(at)pcxcess(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message lee johnson 2000-09-08 14:28:30 Re: postgres not allowing new database?
Previous Message Kevin Sorensen 2000-09-08 13:41:53 libpq problem with inserts