Skip to content

Releases: pg-fdw/db2_fdw

18.1.1 fixing issues and stabilize new functions

06 Feb 16:15

Choose a tag to compare

What's Changed

  • Delete .vscode directory by @temuenz in #95
  • Fix #85: Segmentation fault with aggregate functions by @rpx99 in #94
  • Fix DB2 SAVEPOINT syntax to include required ON ROLLBACK RETAIN CURSOR by @xtremexp in #98
  • Fix segmentation fault when using JWT authentication without user by @rpx99 in #101
  • Initial approach for a CI/CD integrationtest by @sebasmannem in #81
  • parameters need to be allocated otherwise they get overridden by subs… by @temuenz in #103
  • fixing docker compose by @temuenz in #104

New Contributors

Full Changelog: 18.1.0...18.1.1

What's Changed

  • Delete .vscode directory by @temuenz in #95
  • Fix #85: Segmentation fault with aggregate functions by @rpx99 in #94
  • Fix DB2 SAVEPOINT syntax to include required ON ROLLBACK RETAIN CURSOR by @xtremexp in #98
  • Fix segmentation fault when using JWT authentication without user by @rpx99 in #101
  • Initial approach for a CI/CD integrationtest by @sebasmannem in #81
  • parameters need to be allocated otherwise they get overridden by subs… by @temuenz in #103
  • fixing docker compose by @temuenz in #104
  • Fix JWT authentication for SELECT queries on foreign tables by @rpx99 in #107
  • the repo has moved to pg-fdw by @temuenz in #108

New Contributors

Full Changelog: 18.1.0...18.1.1

18.1.0 introduces JWT, truncate, copy from and bulk insert

24 Nov 12:11
458c9c8

Choose a tag to compare

New features in 18.1.0

  • db2_fdw 18.1.0 now enables the use of Json Web Tokens, since DB2 v11.5.9+ supports it. Find more details on that on the github wiki of this project and in JWT_AUTHENTICATION.md
  • db2_fdw 18.1.0 now supports truncate command. That command efficiently and quickly empties a remote table
  • db2_fdw 18.1.0 now supports loading a remote table using the PG COPY FROM command. It's only been tested using CSV format, yet.
  • db2_fdw has always been supporting COPY TO command exporting data from a fdw table to a local file.
  • db2_fdw 18.1.0 has now basic support for bulk inserts. More enhancements in this are will follow, to truely expedite insert performance particularly on bulk inserts.

More Detailed Changeds* #79 checking for a LOB null value by @temuenz in #80

  • Add JWT token authentication support as alternative to user/password by @rpx99 in #83
  • prepare release 18.1.0 by @temuenz in #86
  • Support for copy by @temuenz in #87
  • Support foreign truncate by @temuenz in #90
  • Cleanup use of malloc, palloc, palloc0,free and pfree by @temuenz in #91
  • Add bulk insert support by @temuenz in #92

New Contributors

  • @rpx99 made their first contribution in #83

Full Changelog: 18.0.1...18.1.0

18.0.1

30 Oct 12:55
caeb37c

Choose a tag to compare

The problem in the preporcessor compares for PG 18 required an immediate fixrelease.

What's Changed

Full Changelog: 18.0.0...18.0.1

18.0.0-fix

30 Oct 12:32
625f6fe

Choose a tag to compare

Sorry, but I am still learning where version numbers all need to be increased, properly.

What's Changed

Full Changelog: 18.0.0...18.0.0-fix

18.0.0

30 Oct 12:26
2181e45

Choose a tag to compare

What's New

Some datatype mappings (bold) have been changed.

SQL Datatype PG Datatype
SQL_CHAR character
SQL_VARCHAR character varying
SQL_LONGVARCHAR text
SQL_BLOB bytea
SQL_DBCLOB text
SQL_CLOB text
SQL_GRAPHIC text
SQL_VARGRAPHIC text
SQL_LONGVARGRAPHIC bytea
SQL_BOOLEAN boolean
SQL_INTEGER integer
SQL_SMALLINT smallint
SQL_BIGINT bigint
SQL_NUMERIC numeric
SQL_DECIMAL decimal
SQL_REAL real
SQL_DOUBLE double precision
SQL_FLOAT float
SQL_DECFLOAT float
SQL_TYPE_DATE date
SQL_TYPE_TIME time
SQL_TYPE_TIMESTAMP timestamp
SQL_TYPE_TIMESTAMP_WITH_TIMEZONE timestamp with time zone
SQL_XML xml
SQL_BINARY bytea
SQL_VARBINARY bytea
SQL_LONGVARBINARY bytea

The version number now indicates up to which version of PostgreSQL is supported. Currently the code has been built and tested with PostgreSQL 16, 17 and 18, assuming it will also work with earlier versions of PostgreSQL.

What's Changed

New Contributors

Full Changelog: 17.0.0...18.0.0

17.0.0

29 Oct 13:45
2706c26

Choose a tag to compare

What's New

db2_fdw has been rewritten to use sqlcli api instead of oci api.
Some more datatypes have been introduced with the new code.

SQL Datatype PG Datatype
SQL_CHAR character
SQL_VARCHAR character varying
SQL_LONGVARCHAR text
SQL_BLOB bytea
SQL_DBCLOB text
SQL_CLOB text
SQL_GRAPHIC bytea
SQL_VARGRAPHIC bytea
SQL_LONGVARGRAPHIC bytea
SQL_BOOLEAN boolean
SQL_INTEGER integer
SQL_SMALLINT smallint
SQL_BIGINT bigint
SQL_NUMERIC numeric
SQL_DECIMAL decimal
SQL_REAL real
SQL_DOUBLE double precision
SQL_FLOAT float
SQL_DECFLOAT float
SQL_TYPE_DATE date
SQL_TYPE_TIME time
SQL_TYPE_TIMESTAMP timestamp
SQL_TYPE_TIMESTAMP_WITH_TIMEZONE timestamp with time zone
SQL_XML xml
SQL_BINARY bytea
SQL_VARBINARY bytea
SQL_LONGVARBINARY bytea

The version number now indicates up to which version of PostgreSQL is supported. Currently the code has been built and tested with PostgreSQL 16 and 17, assuming it will also work with earlier versions of PostgreSQL.

What's Changed

Full Changelog: 7.0.0...17.0.0

db2_fw 7.0.0

23 May 12:49

Choose a tag to compare

db2_fdw working with postgres 17

DB2 Data Wrapper

08 May 10:27
8ad58c1

Choose a tag to compare

This release was first distributed on PGXN