Skip to content

Commit

Permalink
Fix Windows compiler warnings, release 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurenz Albe committed Apr 8, 2014
1 parent 2739e10 commit 17fdf98
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 2 additions & 2 deletions oracle_fdw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion oracle_fdw.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include <sys/types.h>

/* 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;
Expand Down

0 comments on commit 17fdf98

Please sign in to comment.