Chris Browne cbbrowne at lists.slony.info
Tue Dec 11 12:39:44 PST 2007
Update of /home/cvsd/slony1/slony1-engine/src/backend
In directory main.slony.info:/tmp/cvs-serv27627/src/backend

Modified Files:
	slony1_funcs.sql 
Log Message:
No longer need make_function_strict() stored procedure as of 8.3


Index: slony1_funcs.sql
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/src/backend/slony1_funcs.sql,v
retrieving revision 1.125
retrieving revision 1.126
diff -C2 -d -r1.125 -r1.126
*** slony1_funcs.sql	11 Dec 2007 19:30:29 -0000	1.125
--- slony1_funcs.sql	11 Dec 2007 20:39:41 -0000	1.126
***************
*** 5512,5537 ****
  'Reenable index maintenance and reindex the table';
  
- -- ----------------------------------------------------------------------
- -- FUNCTION make_function_strict(function, parms)
- --
- --	Make function be STRICT
- -- ----------------------------------------------------------------------
- create or replace function @NAMESPACE at .make_function_strict (text, text) returns void as
- '
- declare
-    fun alias for $1;
-    parms alias for $2;
-    stmt text;
- begin
-    stmt := ''ALTER FUNCTION "_ at CLUSTERNAME@".'' || fun || '' '' || parms || '' STRICT;'';
-    execute stmt;
-    return;
- end
- ' language plpgsql;
- 
- comment on function @NAMESPACE at .make_function_strict (text, text) is
- 'Equivalent to 8.1+ ALTER FUNCTION ... STRICT';
- 
- 
  
  -- ----------------------------------------------------------------------
--- 5512,5515 ----



More information about the Slony1-commit mailing list