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

Contents of /trunk/test.sql

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13 - (show annotations)
Thu May 26 00:05:33 2005 UTC (18 years, 11 months ago) by dpavlin
File size: 766 byte(s)
example how to find references to Blade Runner in other movies :-)

1 select * from pgest(null, 'a OR b OR c', '', 0, 0);
2 select * from pgest('##dir##/data/casket', 'a OR b OR c', '', 0, 10);
3 select * from pgest('##dir##/data/casket', 'a OR b OR c', '', 20, 0);
4 select * from pgest('##dir##/data/casket', 'a OR b OR c', null, 20, 0);
5 select * from pgest('##dir##/data/casket', 'a OR b OR c', '@uri ISTREW .txt', 100, 0);
6 select * from pgest('##dir##/data/casket', 'a OR b OR c', '', 10, 1);
7 --select * from pgest2('{foo}') as (a text, b text) ;
8 --select * from pgest2('{foo}') as (a text, b text, c text) ;
9 --select * from pgest2('{foo}') as (a text, b text, c text, d text) ;
10
11 -- find all references to blade runner in other films
12 select * from pgest('##dir##/data/casket','blade runner', '@title !ISTRINC blade runner', null, null) ;

  ViewVC Help
Powered by ViewVC 1.1.26