Fwd: Re: ECPG error on inserting records to DB - Mailing list pgsql-interfaces

From Edward Pilipczuk
Subject Fwd: Re: ECPG error on inserting records to DB
Date
Msg-id 200111261703.SAA14597@zeng.uranos.eu.org
Whole thread Raw
Responses Re: Fwd: Re: ECPG error on inserting records to DB  (Michael Meskes <meskes@postgresql.org>)
List pgsql-interfaces
>> 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?

I am suspecting that !
I've noticed that behaviour when the system was uptime 41 days. 
After reboot (the whole system) all starts functioning properly. 
Question is who is responsible for that behaviour? A) my daemon process?  B) kernel?  C) postmaster?

>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)?

No! These are runtime messages.

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

No problem.

--
Edward Pilipczuk


pgsql-interfaces by date:

Previous
From: Michael Meskes
Date:
Subject: Re: ECPG error on inserting records to DB
Next
From: "Amit Padgaonkar"
Date:
Subject: Cant load pgtclsh library into application