Re: Rules going away - Mailing list pgsql-general

From Igor Neyman
Subject Re: Rules going away
Date
Msg-id F4C27E77F7A33E4CA98C19A9DC6722A20825359A@EXCHANGE.corp.perceptron.com
Whole thread Raw
In response to Re: Rules going away  (Gregg Jaskiewicz <gryzman@gmail.com>)
Responses Re: Rules going away  (Gregg Jaskiewicz <gryzman@gmail.com>)
List pgsql-general
> -----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

pgsql-general by date:

Previous
From: hamann.w@t-online.de
Date:
Subject: how to improve this similarity query?
Next
From: Gregg Jaskiewicz
Date:
Subject: Re: Rules going away