> -----Original Message-----
> From: Gregg Jaskiewicz [mailto:gryzman@gmail.com]
> Sent: Friday, September 30, 2011 5:18 AM
> To: Igor Neyman
> Cc: Ondrej Ivanič; pgsql-general@postgresql.org
> Subject: Re: [GENERAL] Rules going away
>
> speaking of DO INSTEAD, for insert/update case. Try using RETURNING
> with that and rules ;) Good luck
Well, I designed it for specific case.
And in my application I had no need for RETURNING clause.
That's why I'm saying, it works perfectly for me, but I'm not trying to generalize, like those who say "Rules are evil
anddon't ever use them".
Regards,
Igor Neyman