diff --git a/CHANGELOG b/CHANGELOG index 9d8d3ff..a2a7065 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,10 +1,11 @@ -Version 1.0.0 +Version 1.0.0, released 2014-04-08 Enhancements: - Add function oracle_diag(name) for diagnostic purposes. ATTENTION: Use "ALTER EXTENSION oracle_fdw UPDATE" when upgrading from a previous version of oracle_fdw. - Avoid unnecessary local filtering for pushed down WHERE clauses with internal parameters. + - Add support for triggers on foreign tables for PostgreSQL 9.4. Bugfixes: - Fix logic error that keeps Oracle connections from closing. diff --git a/oracle_fdw.c b/oracle_fdw.c index 4f16a65..7e6b7a7 100644 --- a/oracle_fdw.c +++ b/oracle_fdw.c @@ -440,7 +440,7 @@ oracle_diag(PG_FUNCTION_ARGS) if (PG_ARGISNULL(0)) { /* display some important Oracle environment variables */ - static const char const * const oracle_env[] = { + static const char * const oracle_env[] = { "ORACLE_HOME", "ORACLE_SID", "TNS_ADMIN", @@ -1112,7 +1112,7 @@ oraclePlanForeignModify(PlannerInfo *root, ModifyTable *plan, Index resultRelati struct OracleFdwState *fdwState; int attnum, i; ListCell *cell; - bool has_trigger, firstcol; + bool has_trigger = false, firstcol; struct paramDesc *param; char paramName[10]; TupleDesc tupdesc; diff --git a/oracle_fdw.h b/oracle_fdw.h index 37eb656..a26ca2a 100644 --- a/oracle_fdw.h +++ b/oracle_fdw.h @@ -15,7 +15,7 @@ #include /* oracle_fdw version */ -#define ORACLE_FDW_VERSION "1.0.0devel" +#define ORACLE_FDW_VERSION "1.0.0" /* opaque type encapsulating the real Oracle connection */ typedef struct oracleSession oracleSession;