Re: ECPG error on inserting records to DB

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Edward Pilipczuk <edx(at)astercity(dot)net>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: ECPG error on inserting records to DB
Date: 2001-11-26 14:45:31
Message-ID: 20011126154531.A9105@feivel.credativ.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

On Sat, Nov 24, 2001 at 07:26:33PM +0100, Edward Pilipczuk wrote:
> I have problems with inserting records into DB by the C program that
> uses ECPG interface. I am using 7.1.2 in Mandrake 8.0.
> Sometimes it abnormally terminates with segmentation violation and sometimes
> it produces the following SQL error message:

Could this be a memory problem?

> AND FINAL QUESTION
> What is the problem with insertion of long records and why ECPG reports
> parsing error near not exisiting "^Y" string?

The later means that ecpg gets an incorrect source, that is the text it
tries to scan is not correct. Does it print this during compile time (it
should)?

Could you strip down the example to a handy small program that you can send
me?

Michael
--
Michael Meskes
Michael(at)Fam-Meskes(dot)De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Edward Pilipczuk 2001-11-26 16:03:30 Fwd: Re: ECPG error on inserting records to DB
Previous Message Edward Pilipczuk 2001-11-24 18:26:33 ECPG error on inserting records to DB