Ken Tanzer <ken.tanzer@xxxxxxxxx> writes: > 1) Can anyone suggest equivalent PG9 replacement for those statements, or > at least give me some hints? Per http://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=9a915e596 I also replaced the tgisconstraint column with tgisinternal; the old meaning of tgisconstraint can now be had by testing for nonzero tgconstraint, while there is no other way to get the old meaning of nonzero tgconstraint, namely that the trigger was internally generated rather than being user-created. It's not real clear to me whether your views actually want tgconstraint = 0, which would be the exact translation, or NOT tgisinternal, which might be a closer approximation to their intention. regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general