Re: PostgreSQL problem with Triggers

From: "Kallol Nandi" <kallol(dot)nandi(at)indussoft(dot)com>
To: <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: PostgreSQL problem with Triggers
Date: 2003-06-27 04:12:38
Message-ID: NBEDKIHMDKLGDCDIJLMMEENDCAAA.kallol.nandi@indussoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

MessageCan you please mention on which OS are you working?
And also provide the code.

Regards,
Kallol.
-----Original Message-----
From: pgsql-bugs-owner(at)postgresql(dot)org
[mailto:pgsql-bugs-owner(at)postgresql(dot)org]On Behalf Of arindam banerjee
Sent: Sunday, June 22, 2003 10:54 PM
To: pgsql-bugs(at)postgresql(dot)org; pgsql-cygwin(at)postgresql(dot)org;
tgl(at)sss(dot)pgh(dot)pa(dot)us
Subject: [BUGS] PostgreSQL problem with Triggers

Hi,
I am trying to implement a trigger in PostgreSQL. My trigger is a C
function which do some very simple things like writing to a file when the
trigger is fired.

The trigger has been created as an "after insert" or "after update" on a
particular table.

However, whenever I perform an insert or update on the table, I get the
following:
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
The connection to the server was lost. Attempting reset: Failed.

The insert or update also is not reflected in the actual table while my
trigger function (written in C) is executed. I am using postgreSQL version
7.2.1-5

Any help in this regard would be highly appreciated.

Regards
Arindam
**************************Disclaimer************************************

Information contained in this E-MAIL being proprietary to Wipro Limited is
'privileged' and 'confidential' and intended for use only by the individual
or entity to which it is addressed. You are notified that any use, copying
or dissemination of the information contained in the E-MAIL in any manner
whatsoever is strictly prohibited.

***************************************************************************

Browse pgsql-bugs by date

  From Date Subject
Next Message Jacek Kalinski 2003-06-27 09:12:10 Re: SELECT bug?
Previous Message Ace 2003-06-26 21:12:53 Re: SELECT bug?