On 6 Feb 2018, at 9:24am, Ulrich Telle <ulrich.te...@gmx.de> wrote:

> Well, actually my goal is not to have an extension with non-deterministic 
> functions. The parameters have mostly the purpose to initialize the extension 
> (things similar to what you do to SQLite itself with pragmas like "PRAGMA 
> cache_size", or "PRAGMA data_store_directory"). The extension would accept 
> changes to the parameters only before the first invocation of the extension 
> functions.

Well, you seem to know what you're doing.  So you could follow your proposed 
plan and mark the function as deterministic even though you know that you could 
abuse it by changing its parameters.  This seems to be simpler than any other 
plan I've seen.

sqlite-users mailing list

Reply via email to