> -----Original Message----- > From: Gregg Jaskiewicz [mailto:gryzman@xxxxxxxxx] > Sent: Friday, September 30, 2011 5:18 AM > To: Igor Neyman > Cc: Ondrej Ivanič; pgsql-general@xxxxxxxxxxxxxx > Subject: Re: 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 and don't ever use them". Regards, Igor Neyman -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general