/[pgestraier]/trunk/t/limit_offset.sh
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/t/limit_offset.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3 - (show annotations)
Fri May 20 16:11:38 2005 UTC (18 years, 11 months ago) by dpavlin
File MIME type: application/x-sh
File size: 709 byte(s)
added limit and offset

1 rm -f *.res
2 psql -At -c "select * from pgest('/rest/estseek/casket/', 'amiga', 50, 0)" test > first-50.res
3 psql -At -c "select * from pgest('/rest/estseek/casket/', 'amiga', 10, 0)" test > join-50.res
4 psql -At -c "select * from pgest('/rest/estseek/casket/', 'amiga', 10, 10)" test >> join-50.res
5 psql -At -c "select * from pgest('/rest/estseek/casket/', 'amiga', 10, 20)" test >> join-50.res
6 psql -At -c "select * from pgest('/rest/estseek/casket/', 'amiga', 10, 30)" test >> join-50.res
7 psql -At -c "select * from pgest('/rest/estseek/casket/', 'amiga', 10, 40)" test >> join-50.res
8 diff -uw first-50.res join-50.res >/dev/null && echo "limit offset ok" || echo "ERROR TESTING limit and offset"
9 rm -f *.res

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26