Issues with Datatype Conversion using DG4ODBC Connection to Postgresql Database

(Doc ID 2353032.1)

Last updated on JANUARY 30, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.4 and later
Information in this document applies to any platform.

Goal

Configured oracle database gateway to a remote non Oracle database (Postgresql).
We can see datatype conversion when getting data from the Postgresal datatype TIME to Oracle, in Oracle this datatype is converted to char(60)

Example

source value : 12:34:56.123 (time in thousands of seconds) , when they extracts this to oracle db the oracle value is .123 (so only the thousands of seconds)

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms