--------------------------- If nexval() call is prefixed with schema name
NEW.dokumnr = nextval('demo.'||TG_RELNAME || '_'|| NEW.doktyyp ||'_seq');
error does not occur.
Is this PgAdmin bug ?
Obviously not. See pgsql docs for nextval, further support in pgsql-novice or pgsql-sql.
Regards, Andreas
---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend