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
- #61 stack smashing detected by @temuenz in #62
- Buffer safe strcpy by @temuenz in #64
- Fixes #66: vargraphic should be TEXT, not BYTEA by @sebasmannem in #69
- Fixes #67: wrong index passed to db2GetLob from convertTuple by @sebasmannem in #68
- Pg18 support by @temuenz in #70
- pg18-release files by @temuenz in #71
- update makefile by @temuenz in #72
New Contributors
- @sebasmannem made their first contribution in #69
Full Changelog: 17.0.0...18.0.0