CREATE OR REPLACE FUNCTION xpath_table(text,text,text,text,text) RETURNS setof record
AS 'MODULE_PATHNAME'
- LANGUAGE 'c' STRICT IMMUTABLE;
+ LANGUAGE 'c' STRICT STABLE;
-- XSLT functions
-- Delete from here to the end of the file if you are not compiling with
CREATE OR REPLACE FUNCTION xslt_process(text,text,text) RETURNS text
- AS 'MODULE_PATHNAME' LANGUAGE 'c' STRICT IMMUTABLE;
+ AS 'MODULE_PATHNAME' LANGUAGE 'c' STRICT STABLE;
-- the function checks for the correct argument count
using a temporary table which is automatically deleted:
BEGIN;
-CREATE TEMP TABLE a_list_COUNTRIES AS
+CREATE TEMP TABLE a_list_countries AS
SELECT * FROM country WHERE country_name LIKE 'A%';
COPY a_list_countries TO '/usr1/proj/bray/sql/a_list_countries.copy';
ROLLBACK;