[BUGS] Bug #700: pqReadData() -- backend closed the channel unexpectedly.

2002-06-29 Thread pgsql-bugs
Amit Mishra ([EMAIL PROTECTED] ) reports a bug with a severity of 2 The lower the number the more severe it is. Short Description pqReadData() -- backend closed the channel unexpectedly. Long Description i have to fire a trigger whenever insertion is done on a table users that calls the postgres

[BUGS] Bug #701: pqReadData() -- backend closed the channel unexpectedly.

2002-06-29 Thread pgsql-bugs
Amit Mishra ([EMAIL PROTECTED]) reports a bug with a severity of 2 The lower the number the more severe it is. Short Description pqReadData() -- backend closed the channel unexpectedly. Long Description i have to fire a trigger whenever insertion is done on a table users that calls the postgres

Re: [BUGS] Bug #701: pqReadData() -- backend closed the channel

2002-06-29 Thread Stephan Szabo
On Sat, 29 Jun 2002 [EMAIL PROTECTED] wrote: > Short Description > pqReadData() -- backend closed the channel unexpectedly. > > Long Description > i have to fire a trigger whenever insertion is done on a table users > that calls the postgres function which inturn calls a c function . > wheever i

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

2002-06-29 Thread Tom Lane
[EMAIL PROTECTED] 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 t