Forum OpenACS Development: oracle-compat-create.sql in acs-events

Does anyone know why these plpgsql procs are in acs-events? Aren't they kind of general helper procs that could be in core?

OK, but if they are in the right place, there's a bug in acs-mail-lite, since it happily tries to use to_interval() (a proc created in oracle-compat-create.sql) but doesn't have a dependency for acs-events, thus bombing every night.

Collapse
Posted by Jade Rubick on
acs-mail-lite should be updated.
Collapse
Posted by Dave Bauer on
Jade, In what way? Acs-mail-lite should not depend on acs-events. At least I can't think of a good reason.

If those plpgsql functions are generally useful they should go in acs-kernel/sql/postgresql/postgresql.sql I think. That is where the other functions to mirror oracle syntax are.

Collapse
Posted by Jade Rubick on
I'm saying it should be updated to either not use that function, or that function should be moved somewhere else. There's no reason for it to depend on acs-events.