The Forum for Discussion about The Third Manifesto and Related Matters

You need to log in to create posts and topics.

Updating through a view: a special case

Quote from johnwcowan on July 6, 2019, 2:07 am

While I am at it, what is the meaning in TD of a public relvar declaration that is local to an operator definition?  Does it mean that the relvar is created at the point of declaration (like global public relvars) and dropped at the end of the definition?   In that case, what if the operator definition is recursive?

The Date & Darwen books do not say, as I recall. Though I imagine they'd expect it to do something sensible, as usual.

In Rel, I disallowed it. It does this:

     VAR MyRelvar999 REAL RELATION {x INT} KEY {x};

CALL MyOp();

ERROR: RS0018: REAL relation-valued variables may not be defined inside a user-defined operator.


I'm the forum administrator and lead developer of Rel. Email me at with the Subject 'TTM Forum'. Download Rel from