/[pgswish]/trunk/pgswish.sql
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/pgswish.sql

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 14 by dpavlin, Sat Feb 19 20:59:17 2005 UTC revision 22 by dpavlin, Sun May 29 22:41:20 2005 UTC
# Line 14  CREATE OR REPLACE FUNCTION pgswish(text, Line 14  CREATE OR REPLACE FUNCTION pgswish(text,
14          AS 'pgswish', 'pgswish'          AS 'pgswish', 'pgswish'
15          LANGUAGE C IMMUTABLE STRICT;          LANGUAGE C IMMUTABLE STRICT;
16    
17  -- get property value while retriving results with pgswish  -- select * from pgswish_arr('/index/path', 'query', 'placeholder', limit, offset, ARRAY['@id','@title','@size']) as (id text, title text, size text);
18  -- select *,pgtextprop('property') from pgswish(...) ...  CREATE OR REPLACE FUNCTION pgswish(text, text, text, int, int, text[])
19            RETURNS setof record
20  CREATE OR REPLACE FUNCTION swtextprop(text)          AS 'pgswish','pgswish_arr'
21          RETURNS text          LANGUAGE 'C' IMMUTABLE CALLED ON NULL INPUT;
         AS 'pgswish', 'swtextprop'  
         LANGUAGE C STRICT;  

Legend:
Removed from v.14  
changed lines
  Added in v.22

  ViewVC Help
Powered by ViewVC 1.1.26