--- trunk/pgest.sql	2005/10/20 16:24:26	48
+++ trunk/pgest.sql	2005/10/29 18:54:40	49
@@ -5,8 +5,8 @@
 	AS 'pgest','pgest_attr'
 	LANGUAGE 'C' IMMUTABLE CALLED ON NULL INPUT;
 
--- select * from pgest('http://localhost:1978/node/trivia', 'admin', 'admin', 'query', '@title ISTRINC foo', '@title STRA', limit, offset, ARRAY['@id','@title','@size']) as (id text, title text, size text);
-CREATE OR REPLACE FUNCTION pgest(text, text, text, text, text, text, int, int, text[])
+-- select * from pgest('http://localhost:1978/node/trivia', 'admin', 'admin', depth, 'query', '@title ISTRINC foo', '@title STRA', limit, offset, ARRAY['@id','@title','@size']) as (id text, title text, size text);
+CREATE OR REPLACE FUNCTION pgest(text, text, text, int, text, text, text, int, int, text[])
 	RETURNS setof record
 	AS 'pgest','pgest_node'
 	LANGUAGE 'C' IMMUTABLE CALLED ON NULL INPUT;
