3 |
|
|
4 |
all: pgswish install |
all: pgswish install |
5 |
psql test < pgswish.sql |
psql test < pgswish.sql |
6 |
psql -c "select * from pgswish('/foo/bar','a*','','','');" test |
#psql -c "select * from pgswish('"${dir}"/index/test', 'a* or b* or c*', '') order by size" test |
7 |
# psql -c "begin ; select plperlswish('foo','"${dir}"/index/test', 'a* or b* or c*', '', '') ; select * from foo ; drop table foo" test |
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 |