Forum OpenACS Q&A: Response to Postgres syntax requires me to run a function repeatedly?

In fact the PG folks are thinking about providing three levels of granularity:  always invariant (i.e. "sqrt(2)"), invariant for a given transaction ("rank_for_search"), never invariant (the default case, of course).