Re: INSERT RULE QUERY ORDER

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Justin Tocci <jtocci(at)tlcusa(dot)com>
Cc: "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgresql(dot)org>
Subject: Re: INSERT RULE QUERY ORDER
Date: 2003-08-05 19:13:27
Message-ID: 11756.1060110807@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Justin Tocci <jtocci(at)tlcusa(dot)com> writes:
> When my RULE takes the form of:
> CREATE RULE name AS ON INSERT TO table DO INSTEAD ( UPDATE query ; INSERT
> query) ;

> The INSERT query doesn't fire and there is no error.

What do you mean by "doesn't fire"? I think you'd better provide a
complete example of what you're doing.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Justin Tocci 2003-08-05 19:14:09 INSERT RULE QUERY ORDER
Previous Message Tom Lane 2003-08-05 19:09:00 Re: indices and cidr/inet type