"Dean Gibson (DB Administrator)" writes:
> So, I tried:
> CREATE RULE _update AS ON UPDATE TO public.yyy DO INSTEAD
> (DELETE FROM private.zzz WHERE key_field = OLD.key_field;
>INSERT INTO private.zzz VALUES( NEW.*) );
Nope, won't work, standard gotcha for rules newbies. As soon as you
de
Using PostgreSQL version 8.3.0:
For various reasons, I have a number of VIEWs that are (except for the
schema/table/view names) automatically generated as identity mappings of
corresponding TABLEs; eg:
CREATE VIEW public.yyy AS SELECT * FROM private.zzz;
Since we don't have updatable VIEWS