/[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

Annotation of /trunk/pgswish.sql

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12 - (hide annotations)
Sat Feb 19 15:09:05 2005 UTC (19 years, 2 months ago) by dpavlin
File size: 310 byte(s)
allmost work, but not yet

1 dpavlin 8 drop type __pgswish cascade;
2    
3     CREATE TYPE __pgswish AS (
4     rank int,
5     path text,
6     headline text,
7 dpavlin 12 size int
8 dpavlin 8 );
9    
10 dpavlin 9 -- pgswish('/index/path/','query', 'property' 'sort');
11     CREATE OR REPLACE FUNCTION pgswish(text, text, text, text)
12 dpavlin 8 RETURNS SETOF __pgswish
13     AS 'pgswish', 'pgswish'
14     LANGUAGE C IMMUTABLE STRICT;
15    

  ViewVC Help
Powered by ViewVC 1.1.26