--- trunk/pgswish.sql	2005/05/29 21:32:30	21
+++ trunk/pgswish.sql	2005/05/29 22:41:20	22
@@ -14,7 +14,8 @@
 	AS 'pgswish', 'pgswish'
 	LANGUAGE C IMMUTABLE STRICT;
 
-CREATE OR REPLACE FUNCTION pgswish2(text[])
-RETURNS setof record
-AS 'pgswish','pgswish2'
-LANGUAGE 'C' IMMUTABLE STRICT;
+-- select * from pgswish_arr('/index/path', 'query', 'placeholder', limit, offset, ARRAY['@id','@title','@size']) as (id text, title text, size text);
+CREATE OR REPLACE FUNCTION pgswish(text, text, text, int, int, text[])
+	RETURNS setof record
+	AS 'pgswish','pgswish_arr'
+	LANGUAGE 'C' IMMUTABLE CALLED ON NULL INPUT;
