Hi Andreas,
I use 8.2.6. Good to know, that it will be included in the next release (8.4).
foo_esg_modw=# alter table foo_beleg disable trigger foo_beleg_tgr;
ALTER TABLE
foo_esg_modw=# \d foo_beleg
Tabelle »public.foo_beleg«
Spalte | Typ | Attribute
------------------+--------------------------+------------------------------------------------------------
id | integer | not null default nextval('foo_beleg_id_seq'::regclass)
...
Indexe:
...
Trigger:
foo_beleg_tgr AFTER INSERT OR DELETE OR UPDATE ON foo_beleg FOR EACH ROW EXECUTE PROCEDURE history_monitor()
foo_esg_modw=# select version();
version
--------------------------------------------------------------------------------------------
PostgreSQL 8.2.6 on x86_64-unknown-linux-gnu, compiled by GCC gcc (GCC) 4.2.1 (SUSE Linux)
(1 Zeile)
Andreas Kretschmer schrieb:
Quote:
Works for me:
..
PostgreSQL 8.4devel on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7) |
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de