Re: [SQL] RE: C function for use from PLpgSQL trigger

2001-02-06 Thread Joe Conway
> You could send the column name directly into your c function. For example: > c_function_name(NEW.col1, NEW.col2, NEW.col3). Otherwise I am not sure how > to send NEW into a C function. You could try declaring NEW in your C > function as a tuple. Thanks for your reply. I was hoping that I cou

[SQL] RE: C function for use from PLpgSQL trigger

2001-02-05 Thread Michael Davis
You could send the column name directly into your c function. For example: c_function_name(NEW.col1, NEW.col2, NEW.col3). Otherwise I am not sure how to send NEW into a C function. You could try declaring NEW in your C function as a tuple. -Original Message- From: Joe Conway [SMTP