I thought immutable strict ment the database could not be modified.
The following inserts a new row in 'some_table':
CREATE FUNCTION insert_row() RETURNS void AS
$$
plv8.execute('INSERT INTO some_table (number) VALUES ($1)', [123]);
$$
LANGUAGE plv8 IMMUTABLE STRICT;
Is it not possible to prevent a function modifying the database?