/[pgestraier]/trunk/test.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/test.sql

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

revision 57 by dpavlin, Thu May 11 16:19:38 2006 UTC revision 58 by dpavlin, Thu May 25 17:50:13 2006 UTC
# Line 28  select title from pgest('http://localhos Line 28  select title from pgest('http://localhos
28  explain analyze select title from pgest('http://localhost:1978/node/trivia', 'admin', 'admin', 0, 'blade runner', 'year NUMGT 1990', '@title STRA', 5, 0, array['@title']) as (title text);  explain analyze select title from pgest('http://localhost:1978/node/trivia', 'admin', 'admin', 0, 'blade runner', 'year NUMGT 1990', '@title STRA', 5, 0, array['@title']) as (title text);
29    
30  -- example of using convert and hints  -- example of using convert and hints
31  select uri,convert(title,'UTF-8', 'LATIN2'),year,hits,h1,h2 from pgest('http://localhost:1978/node/trivia', 'admin', 'admin', 0, 'blade runner', '@title !ISTRINC blade runner', null, 5, 0, array['@uri','@title','year','HINTS.HIT','HINTS.WORDNUM','HINTS.TIME']) as (uri text, title text, year int, hits int, h1 text, h2 text);  select uri,convert(title,'UTF-8', 'LATIN2') as title,year,hits,wordnum,time
32    from pgest('http://localhost:1978/node/trivia', 'admin', 'admin', 0,
33            'blade', '@title ISTRINC runner', null, null, null,
34            array['@uri','@title','year','HINTS.HIT','HINTS.WORDNUM','HINTS.TIME']) as
35            (uri text, title text, year int, hits int, wordnum text, time text);
36    

Legend:
Removed from v.57  
changed lines
  Added in v.58

  ViewVC Help
Powered by ViewVC 1.1.26