# xmlpgsql cd xmlpgsql-${VERSION} make clean;make; make install; # create db create database ${DBNAME}; # create xmlpgsql schema su - postgres -c "psql ${DBNAME} < `pwd`/xmlpgsql-${VERSION}.sql" # create aggrigate su - postgres -c "psql ${DBNAME} < `pwd`/list/list.sql" # cd intarray cp _int.c _int_add.sql ${PGSRC}/contrib/intarray cd ${PGSRC}/contrib/intarray make clean;make make install su - postgres -c "psql ${DBNAME} < `pwd`/_int.sql" su - postgres -c "psql ${DBNAME} < `pwd`/_int_add.sql" # xorder cd ${CURDIR}/xorder make clean;make make up su - postgres -c "psql ${DBNAME} < `pwd`/xorder.sql" # xpath cd ${CURDIR}/xpath make clean;make make up su - postgres -c "psql ${DBNAME} < `pwd`/XPath.sql"