git-bisect-script

application/octet-stream

Filename: git-bisect-script
Type: application/octet-stream
Part: 0
Message: Re: tsvector concatenation - backend crash
#!/bin/bash

make clean 2>&1 > /dev/null 
./configure --prefix /tmp/pgsql 
make -j 3 
make install 

rm -rf /tmp/pgdata
/tmp/pgsql/bin/initdb -D /tmp/pgdata
/tmp/pgsql/bin/postgres -D /tmp/pgdata &
pid=$!
sleep 5;
/tmp/pgsql/bin/createdb jk 

/tmp/pgsql/bin/psql  < ~/footrimmed.dump 2>&1 | grep "length"
ret=$?
kill $pid

make clean 2>&1 > /dev/null 
git clean -fd
exit $ret