Re: Bug #701: pqReadData() -- backend closed the channel unexpectedly.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: amit(dot)mishra(at)myrealbox(dot)com, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug #701: pqReadData() -- backend closed the channel unexpectedly.
Date: 2002-06-30 00:01:18
Message-ID: 16292.1025395278@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

pgsql-bugs(at)postgresql(dot)org writes:
> [ this trigger crashes the backend: ]

> void users()
> {
> FILE *fp;
> fp = fopen("/home/suresh/trigger/test.txt","w");
> fputs("Hello this is c function",fp);
> }

Triggers are supposed to return something --- especially BEFORE
triggers. See the examples in the manual.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Alfredo 2002-07-01 19:06:04 How can I unsuscribe me from the list?
Previous Message Stephan Szabo 2002-06-29 21:21:02 Re: Bug #701: pqReadData() -- backend closed the channel