![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a view that used union all to merge three tables together. I was hoping to create a rule, one for each table using the WHERE condition of the rule to determine which table gets updated. Is this possible? |
#3
| |||
| |||
|
|
On Wed, Nov 17, 2004 at 11:20:41AM -0500, Robert Fitzpatrick wrote: I have a view that used union all to merge three tables together. I was hoping to create a rule, one for each table using the WHERE condition of the rule to determine which table gets updated. Is this possible? See the CREATE RULE documentation: http://www.postgresql.org/docs/7.4/s...reaterule.html |
;
#4
| |||
| |||
|
|
On Wed, 2004-11-17 at 11:49, Michael Fuhr wrote: On Wed, Nov 17, 2004 at 11:20:41AM -0500, Robert Fitzpatrick wrote: I have a view that used union all to merge three tables together. I was hoping to create a rule, one for each table using the WHERE condition of the rule to determine which table gets updated. Is this possible? See the CREATE RULE documentation: http://www.postgresql.org/docs/7.4/s...reaterule.html Thanks, that explains a lot, but still not able to get my rule to work, this is what I have now: |

![]() |
| Thread Tools | |
| Display Modes | |
| |