Re: [GENERAL] Views: having a rule call a function vs. using a before trigger

2007-02-21 Thread Ken Downs
"Karl O. Pinc" <[EMAIL PROTECTED]> wrote: > Hi, > > Postgresql 8.1. > > I'm trying to come up with a generic way > of inserting into a view, particularly regards > error testing and the generation of complicated > foreign keys. I don't seem to be having much luck. > > (I also want to update an

[GENERAL] Views: having a rule call a function vs. using a before trigger

2007-02-20 Thread Karl O. Pinc
Hi, Postgresql 8.1. I'm trying to come up with a generic way of inserting into a view, particularly regards error testing and the generation of complicated foreign keys. I don't seem to be having much luck. (I also want to update and delete, but haven't gotten that far.) I thought that, for i