PostgresForest-4.0.2/buildだけに発見: ForestRecovery.sh PostgresForest-4.0.2/buildだけに発見: Jpsql.sh PostgresForest-4.0.2/buildだけに発見: forest_ctl PostgresForest-4.0.2/buildだけに発見: forest_initdb PostgresForest-4.0.2/buildだけに発見: forestadm PostgresForest-4.0.2/buildだけに発見: functions PostgresForest-4.0.2/buildだけに発見: pljava-20070604 diff -cr -x env.conf PostgresForest-4.0.2.org/build.sh PostgresForest-4.0.2/build.sh *** PostgresForest-4.0.2.org/build.sh 2007-05-11 23:06:45.000000000 +0900 --- PostgresForest-4.0.2/build.sh 2007-06-04 00:40:45.000000000 +0900 *************** *** 28,33 **** --- 28,37 ---- echo "Applying lock-timeout support patch to pl/java."; ${PATCH} -p1 < ../../src/pgpatches/pljava130_locktimeout81.patch; ${MAKE} + elif [ ${PLJAVA_VERSION} = "20070604" ]; then + echo "Applying lock-timeout support patch to pl/java."; + ${PATCH} -p1 < ../../src/pgpatches/pljava130_locktimeout81.patch; + ${MAKE} fi; cd .. *************** *** 52,57 **** --- 56,70 ---- > forest_recovery.sql cd .. ;; + 8.2) + cd functions + export USE_PGXS=1 + ${MAKE} CFLAGS+="-DPOSTGRES81=1 -DPOSTGRES82=1" -f Makefile.81 + cp forest_recovery.sql forest_recovery.sql.orig + sed -e "s,@@@FOREST_LIB@@@,${DESTDIR}/lib," forest_recovery.sql.orig \ + > forest_recovery.sql + cd .. + ;; *) echo "PostgresForest on-line recovery does not support PostgreSQL ${PG_VERSION}." exit; diff -cr -x env.conf PostgresForest-4.0.2.org/common.conf PostgresForest-4.0.2/common.conf *** PostgresForest-4.0.2.org/common.conf 2007-05-11 23:06:45.000000000 +0900 --- PostgresForest-4.0.2/common.conf 2007-06-04 00:12:32.000000000 +0900 *************** *** 51,56 **** --- 51,59 ---- ;; esac ;; + 8.2) + PLJAVA_VERSION="20070604" + ;; *) echo "Non-supported PostgreSQL version: [${PG_VERSION}]" exit; PostgresForest-4.0.2だけに発見: env.conf~ diff -cr -x env.conf PostgresForest-4.0.2.org/src/functions/forest_recovery.c PostgresForest-4.0.2/src/functions/forest_recovery.c *** PostgresForest-4.0.2.org/src/functions/forest_recovery.c 2007-05-11 23:06:45.000000000 +0900 --- PostgresForest-4.0.2/src/functions/forest_recovery.c 2007-06-04 02:12:05.000000000 +0900 *************** *** 44,49 **** --- 44,53 ---- #endif #include "mb/pg_wchar.h" + #ifdef POSTGRES82 + #include "access/transam.h" + #endif + #ifdef POSTGRES81 #define RelationRelationName "pg_class" #define TriggerRelationName "pg_trigger" *************** *** 56,61 **** --- 60,69 ---- #include #include + #ifdef POSTGRES82 + PG_MODULE_MAGIC; + #endif + #ifdef POSTGRES81 typedef struct ProcArrayStruct PostgresForest-4.0.2/srcだけに発見: pljava-20070604 PostgresForest-4.0.2/srcだけに発見: pljava-src-20070604.tar.gz