On Wed, Apr 2, 2014 at 6:53 AM, Jayadevan M <maymala(dot)jayadevan(at)gmail(dot)com> wrote:
> Will a rule work?
> http://www.postgresql.org/docs/9.3/static/sql-createrule.html
There are a couple of issues you face if you use a rule, copy commands
ignore rules, and rules are slower.
Triggers are almost always better here and really aren't that hard to write.