3 |
|
|
4 |
all: pgswish install |
all: pgswish install |
5 |
psql test < pgswish.sql |
psql test < pgswish.sql |
6 |
psql -c "select * from pgswish('"${dir}"/index/test', 'a* or b* or c*', '', '') order by size" test |
#psql -c "select * from pgswish('"${dir}"/index/test', 'a* or b* or c*', '') order by size" test |
7 |
# cat test.sql | sed "s,##dir##,${dir}," | psql test |
cat test.sql | sed "s,##dir##,${dir}," | psql test |
8 |
|
|
9 |
pgswish: |
pgswish: |
10 |
cc -I`pg_config --includedir-server` -fpic -c ${code}.c |
cc -I`pg_config --includedir-server` -fpic -c ${code}.c |